Publish UI release artefact in our github releases (#10577)
This will make UI static files part of the release artefacts, for consumption by downstream distributions. Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
parent
8abef6d661
commit
1186974715
|
@ -63,8 +63,10 @@ jobs:
|
|||
- run: make ui-build-module
|
||||
- run: make ui-test
|
||||
- run: make assets-tarball -o assets
|
||||
- store_artifacts:
|
||||
path: web/ui/static.tar.gz
|
||||
- persist_to_workspace:
|
||||
root: .
|
||||
paths:
|
||||
- .tarballs
|
||||
- save_cache:
|
||||
key: v3-npm-deps-{{ checksum "web/ui/package-lock.json" }}
|
||||
paths:
|
||||
|
|
|
@ -4,5 +4,7 @@
|
|||
|
||||
set -euo pipefail
|
||||
|
||||
version="$(< VERSION)"
|
||||
mkdir -p .tarballs
|
||||
cd web/ui
|
||||
find static -type f -not -name '*.gz' -print0 | xargs -0 tar czf static.tar.gz
|
||||
find static -type f -not -name '*.gz' -print0 | xargs -0 tar czf ../../.tarballs/prometheus-web-ui-${version}.tar.gz
|
||||
|
|
Loading…
Reference in New Issue