Skip to content

Commit

Permalink
fix(ci): workaround for unrelated failing lint test
Browse files Browse the repository at this point in the history
  • Loading branch information
Duologic committed Feb 16, 2024
1 parent a68b483 commit 804cb5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ $(OUT_DIR)/.lint: $(OUT_DIR)
dashboards-lint: $(GRAFANA_DASHBOARD_LINTER_BIN) $(OUT_DIR)/.lint
# Replace $$interval:$$resolution var with $$__rate_interval to make dashboard-linter happy.
@sed -i -e 's/$$interval:$$resolution/$$__rate_interval/g' $(OUT_DIR)/*.json
# Replace 'Data source' label with 'Data Source' to make dashboard-linter happy.
@sed -i -e 's/Data source/Data Source/g' $(OUT_DIR)/*.json
@find $(OUT_DIR) -name '*.json' -print0 | xargs -n 1 -0 $(GRAFANA_DASHBOARD_LINTER_BIN) lint --strict


Expand Down

0 comments on commit 804cb5b

Please sign in to comment.