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.`
16 lines
534 B
Bash
Executable file
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
|