collector dashboard: query the service.name the collectors emit, lint dashboard names
This commit is contained in:
parent
067a260b85
commit
181c42dae1
1 changed files with 107 additions and 25 deletions
|
|
@ -39,5 +39,11 @@ if ! nix shell --inputs-from . nixpkgs#jq --command sh "$repo_root/scripts/check
|
|||
exit 1
|
||||
fi
|
||||
|
||||
echo "pre-push: running dashboard-service-name lint..." >&2
|
||||
if ! sh "$repo_root/scripts/check-dashboard-service-names.sh"; then
|
||||
echo "pre-push: dashboard-service-name lint FAILED — fix before pushing" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "pre-push: lints passed ✓" >&2
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue