Skip to content

Commit

Permalink
add ct configs for charts that use dependenties
Browse files Browse the repository at this point in the history
Signed-off-by: Pete Wall <pete.wall@grafana.com>
  • Loading branch information
petewall committed Oct 1, 2024
1 parent b6ccea9 commit a3f3606
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions charts/feature-cluster-metrics/.ct.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
chart-repos:

Check failure on line 1 in charts/feature-cluster-metrics/.ct.yaml

View workflow job for this annotation

GitHub Actions / runner / yamllint

[yamllint] reported by reviewdog 🐶 [warning] missing document start "---" (document-start) Raw Output: ./charts/feature-cluster-metrics/.ct.yaml:1:1: [warning] missing document start "---" (document-start)
- kepler=https://sustainable-computing-io.github.io/kepler-helm-chart
- prometheus-community=https://prometheus-community.github.io/helm-charts
2 changes: 2 additions & 0 deletions charts/feature-prometheus-operator-objects/.ct.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
chart-repos:

Check failure on line 1 in charts/feature-prometheus-operator-objects/.ct.yaml

View workflow job for this annotation

GitHub Actions / runner / yamllint

[yamllint] reported by reviewdog 🐶 [warning] missing document start "---" (document-start) Raw Output: ./charts/feature-prometheus-operator-objects/.ct.yaml:1:1: [warning] missing document start "---" (document-start)
- prometheus-community=https://prometheus-community.github.io/helm-charts
2 changes: 1 addition & 1 deletion charts/feature-prometheus-operator-objects/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ build: README.md Chart.lock values.schema.json
.PHONY: test
test: build
helm lint .
ct lint --lint-conf ../../.configs/lintconf.yaml --check-version-increment=false --charts .
ct lint --config .ct.yaml --lint-conf ../../.configs/lintconf.yaml --check-version-increment=false --charts .
ifdef HAS_HELM_UNITTEST
helm unittest .
else
Expand Down
2 changes: 1 addition & 1 deletion charts/k8s-monitoring/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ lint-configs: $(EXAMPLE_ALLOY_FILES)

lint-helm: build
helm lint .
ct lint --lint-conf ../../.configs/lintconf.yaml --check-version-increment=false --charts .
ct lint --config .ct.yaml --lint-conf ../../.configs/lintconf.yaml --check-version-increment=false --charts .

unittest: build
ifdef HAS_HELM_UNITTEST
Expand Down

0 comments on commit a3f3606

Please sign in to comment.