debian-image-builder-frontend/devel/setup.sh
Gianluca Zuccarelli 53b5bdf72b devel: re-use existing dashboards
Rather than have duplicate copies of the dashboard in this repo,
I've added a python script to extract the dashboard configs from
the image-builder and osbuild-composer repos. The script is called
in the `setup.sh` script.`
2021-10-29 11:02:22 +01:00

16 lines
534 B
Bash
Executable file

#!/bin/bash
./gen-certs.sh \
config/x509/openssl.cnf \
state/x509 \
state/x509/ca
# image-builder dashboard
./gen-dashboards \
--input ../../image-builder/templates/dashboards/grafana-dashboard-insights-image-builder-general.configmap.yml \
--output ./config/grafana/dashboards/insights-dashboard.json
# composer dashboard
./gen-dashboards \
--input ../../osbuild-composer/templates/dashboards/grafana-dashboard-image-builder-composer-general.configmap.yml \
--output ./config/grafana/dashboards/composer-dashboard.json