grafana-pcp/SOURCES/build_frontend.sh

11 lines
249 B
Bash
Raw Normal View History

2021-11-09 10:02:05 +00:00
#!/bin/bash -eu
# Build the frontend
yarn run build
# Build the dashboards
2022-05-10 07:04:11 +00:00
make build-dashboards
2021-11-09 10:02:05 +00:00
# Fix permissions (webpack sometimes outputs files with mode = 666 due to reasons unknown (race condition/umask issue afaics))
chmod -R g-w,o-w dist