2021-11-23 08:30:38 +00:00
|
|
|
all: fmt generate lint test
|
|
|
|
|
|
|
|
fmt:
|
|
|
|
./lint-jsonnet.sh -i
|
|
|
|
|
|
|
|
generate: dashboards_out
|
2023-04-02 02:28:16 +00:00
|
|
|
tox -ealerts-fix
|
2021-11-23 08:30:38 +00:00
|
|
|
|
|
|
|
vendor: jsonnetfile.lock.json
|
|
|
|
tox -ejsonnet-bundler-install
|
|
|
|
|
2022-05-12 15:23:56 +00:00
|
|
|
dashboards_out: vendor dashboards
|
2021-11-23 08:30:38 +00:00
|
|
|
tox -ejsonnet-fix
|
|
|
|
|
|
|
|
lint:
|
|
|
|
tox -ejsonnet-lint
|
|
|
|
tox -ealerts-lint
|
|
|
|
|
|
|
|
test: generate
|
|
|
|
tox -ejsonnet-check
|
|
|
|
tox -epromql-query-test
|
2023-04-02 02:28:16 +00:00
|
|
|
tox -ealerts-test
|
2021-11-23 08:30:38 +00:00
|
|
|
check: test
|
|
|
|
|
|
|
|
.PHONY: all fmt generate lint test check
|