Go to file
Marius Kittler 0a2c10ecd8 Accepting request 1118051 from home:dmolkentin:infrarun
- Update to version 10.1.5:
  * Features and enhancements:
    - Azure: Settings for Azure AD Workload Identity 
    - Azure: Add support for Workload Identity authentication 
  * Bugfixes:
    - Alerting: Add support for `keep_firing_for` field from
      external rulers 
    - Cloudwatch: Prevent log group requests with ARNs if feature
      flag is off 
    - Cloudwatch: Backport 73524 Bring Back Legacy Log Group
      Picker 
- Update to version 10.1.3:
  * Features and enhancements:
    - Docs: add deep links info 
    - Plugins: Angular: Removed getLegacyAngularInjector Angular
      pattern 
    - Update `make docs` procedure 
    - Docs: Add multiple y-axes guidance 
    - Docs/creates backup grafana topic 
    - Docs: Fix nightly builds link 
    - Auth: Optimize auth token operations 
    - Docs: add dashboards folder naming guidance 
    - Alerting docs: adds roll back warning to config grafana 
    - Auth: Refactor for revoking user tokens within last hours 
    - Docs: 404 fix - updated alerting link 
    - Chore: Remove unused secret enterprise2-cdn-path -
      Nightlies: Push windows artifacts to GCS on main builds 
    - Chore: Update github.com/ProtonMail/go-crypto 
    - Prometheus: Handle the response with different field key order 
    - Share link: Use panel relative time for direct link rendered

OBS-URL: https://build.opensuse.org/request/show/1118051
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=121
2023-10-17 09:49:45 +00:00
_constraints Accepting request 967538 from home:jordimassaguerpla:branches:server:monitoring:add_constraints_to_grafana 2022-04-07 15:58:22 +00:00
_service Accepting request 1118051 from home:dmolkentin:infrarun 2023-10-17 09:49:45 +00:00
_servicedata Accepting request 1118051 from home:dmolkentin:infrarun 2023-10-17 09:49:45 +00:00
.gitattributes Accepting request 583279 from security:logging 2018-03-07 10:11:57 +00:00
.gitignore Accepting request 583279 from security:logging 2018-03-07 10:11:57 +00:00
0001-Add-source-code-reference.patch Accepting request 1066405 from home:mkittler:branches:server:monitoring 2023-02-22 08:46:39 +00:00
grafana-10.1.1.tar.gz Accepting request 1108401 from home:mkittler:branches:server:monitoring 2023-10-05 13:41:11 +00:00
grafana-10.1.5.tar.gz Accepting request 1118051 from home:dmolkentin:infrarun 2023-10-17 09:49:45 +00:00
grafana-rpmlintrc Accepting request 583279 from security:logging 2018-03-07 10:11:57 +00:00
grafana.changes Accepting request 1118051 from home:dmolkentin:infrarun 2023-10-17 09:49:45 +00:00
grafana.spec Accepting request 1118051 from home:dmolkentin:infrarun 2023-10-17 09:49:45 +00:00
Makefile Accepting request 1078603 from home:mkittler:branches:server:monitoring 2023-04-13 11:52:38 +00:00
README Accepting request 874474 from home:tserong:branches:server:monitoring 2021-02-26 14:07:38 +00:00
vendor.tar.gz Accepting request 1118051 from home:dmolkentin:infrarun 2023-10-17 09:49:45 +00:00

The tarball is generated via the OBS source service, but Grafana
needs to ship the compiled frontend assets as well, which have to
be built by running yarn inside the source tree (see
https://github.com/grafana/grafana/blob/master/contribute/developer-guide.md#frontend).
This can't be done at build time on OBS, because it involves
downloading and installing packages from the internet, so instead
we have a Makefile which does the following:

- Runs `osc service disabledrun` to get the latest source tarball
- Unpacks the tarball to a temporary directory
- Runs `yarn install --pure-lockfile && yarn build`
- Adds the generated "vendor" and "public" content to the tarball,
  then compresses it with xz.
- The tarball can then be used by OBS to build an RPM.

In order for this to work you need to have npm >= 14 and yarn installed.

  # zypper in npm14
  # zypper in obs-service-download_files obs-service-go_modules \
        obs-service-obs_scm
  # npm install -g yarn

Then, to package a new release of Grafana, run `make` then `osc ci`
and you should be good.

If you have a patch for the Javascript frontend to apply you need
to do the following:

- Create the patch and add it with `osc add <PATCH>` to the repo
- Open the Makefile
- Add after the `cd $$basename && \` the patch with:
  `patch -p1 < ../../000x-<NAME>.patch && \`
- Do NOT add the patch to the Specfile.
- Then use the process of building Grafana as described above.

Please direct any questions to Tim Serong <tserong@suse.com>
If Tim is not available you may also contact Enno Gotthold <egotthold@suse.de>