prometheus/scripts/package_assets.sh
Julien Pivotto a236166c71
Store compiled web ui in CI (#10546)
Some downstream distros fail to compile Prometheus UI (Debian, NixOS).

This is an attempt to store compiled UI in circleci for them to consume
it. Currently we do not expose this outside of circleci.

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>

Co-authored-by: Julien Pivotto <roidelapluie@o11y.eu>
2022-04-06 20:23:55 +02:00

9 lines
150 B
Bash
Executable file

#!/usr/bin/env bash
#
# compress static assets
set -euo pipefail
cd web/ui
find static -type f -name '*.gz' -print0 | xargs -0 tar cf static.tar.gz