Metrics dashboard and graph editor
Go to file
Andreas Gerstmayr 1af03b0873 setup OpenSSL FIPS provider in test phase
Since OpenSSL 3 GOLANG_FIPS=1 is not sufficient anymore to exercise
FIPS functionality, therefore a custom OpenSSL config is created
enabling the OpenSSL FIPS provider in the test phase of the specfile.

Related: rhbz#1956384
2021-06-28 17:17:17 +02:00
.gitignore Rebase to grafana 7.3.4 2020-11-25 18:52:48 +01:00
001-wrappers-grafana-cli.patch update to upstream version 7.5.8 2021-06-21 14:41:37 +00:00
002-manpages.patch update to upstream version 7.5.9 2021-06-25 18:34:09 +02:00
003-fix-dashboard-abspath-test.patch Rebase to Grafana 7.5.7 2021-05-27 16:06:42 +02:00
004-skip-x86-goldenfiles-tests.patch Rebase to Grafana 7.5.7 2021-05-27 16:06:42 +02:00
005-remove-unused-dependencies.patch update to upstream version 7.5.8 2021-06-21 14:41:37 +00:00
006-fix-gtime-test-32bit.patch Rebase to Grafana 7.5.7 2021-05-27 16:06:42 +02:00
008-remove-unused-frontend-crypto.patch update to upstream version 7.5.8 2021-06-21 14:41:37 +00:00
009-patch-unused-backend-crypto.patch remove unused crypto, use OpenSSL if FIPS mode is enabled 2021-06-11 16:11:45 +02:00
010-fips.patch remove unused crypto, use OpenSSL if FIPS mode is enabled 2021-06-11 16:11:45 +02:00
build_frontend.sh Rebase to Grafana 7.5.7 2021-05-27 16:06:42 +02:00
distro-defaults.ini update to upstream version 7.5.8 2021-06-21 14:41:37 +00:00
gating.yaml Introducing gating.yaml 2021-06-16 05:51:01 +02:00
grafana.rpmlintrc Rebase to grafana 7.3.4 2020-11-25 18:52:48 +01:00
grafana.spec setup OpenSSL FIPS provider in test phase 2021-06-28 17:17:17 +02:00
list_bundled_nodejs_packages.py remove unused crypto, use OpenSSL if FIPS mode is enabled 2021-06-11 16:11:45 +02:00
Makefile update to upstream version 7.5.8 2021-06-21 14:41:37 +00:00
README.md Rebase to Grafana 7.5.7 2021-05-27 16:06:42 +02:00
run_container_build.sh Rebase to grafana 7.3.1 2020-11-11 16:08:08 +01:00
sources update to upstream version 7.5.9 2021-06-25 18:34:09 +02:00

grafana

The grafana package

Upgrade instructions

(replace X.Y.Z with the new Grafana version)

  • update Version, Release and %changelog in the specfile
  • create bundles and manifest: VER=X.Y.Z make clean all
  • update specfile with contents of the .manifest file
  • check if the default configuration has changed: diff grafana-X.Y.Z/conf/defaults.ini distro-defaults.ini and update distro-defaults.ini if necessary
  • update the manpages patch in 002-manpages.patch and other patches if required
  • run local build: rpkg local
  • run rpm linter: rpkg lint -r grafana.rpmlintrc
  • run local builds with different OS versions: ./run_container_build.sh fedora-version
  • run a scratch build: fedpkg scratch-build --srpm
  • upload new source tarballs: fedpkg new-sources *.tar.gz *.tar.xz

Backporting

  • create the patch
  • declare and apply (%prep) the patch in the specfile
  • if the patch affects Go or Node.js dependencies, or the webpack
    • create new tarballs and rename them to grafana-...-X.Y.Z-R.tar.gz
    • update the specfile with new tarball path and contents of the .manifest file

Note: the Makefile automatically applies all patches before creating the tarballs

Verification