golang-github-prometheus-pr.../PACKAGING_README.md
Witek Bedyk 0c7e891396 Accepting request 1068670 from home:ojkastl_buildservice:Branch_server_monitoring
- fix boo#1208752
- adjust packaging to build webassets locally, outside of OBS
  * to get the UI working, newer versions of prometheus need the
    react app assets
  * as running `npm install` inside of OBS is not possible, the
    required dependencies need to be prepared outside of OBS
  * added a PACKAGING_README.md file, that explains how the new
    web-ui-*.tar.gz and npm_licenses.tar.bz2 tarballs can be
    created
- update to 2.42.0:

OBS-URL: https://build.opensuse.org/request/show/1068670
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/golang-github-prometheus-prometheus?expand=0&rev=64
2023-03-02 11:51:02 +00:00

385 B

Packaging prometheus

In addition to the source code in the tarball, this package also needs the assets for the web UI. These can be generated by the Makefile that is present in this package. To do that, you need to have make and npm installed locally.

For the OBS workflow you also need obs-service-go_modules as well as obs-service-tar_scm and obs-service-recompress.