diff --git a/.github/linters/ct.yaml b/.github/linters/ct.yaml index a3db7fe1573..c9ad47c7385 100644 --- a/.github/linters/ct.yaml +++ b/.github/linters/ct.yaml @@ -12,4 +12,5 @@ excluded-charts: # If not running on GCE, will error: "Failed to get GCE config" - prometheus-to-sd additional-commands: + - bash -c 'test -f "{{ .Path }}" && exec bash "{{ .Path }}/lint.sh"' # - helm unittest --helm3 --strict --file unittests/*.yaml --file 'unittests/**/*.yaml' {{ .Path }} diff --git a/charts/kube-prometheus-stack/lint.sh b/charts/kube-prometheus-stack/lint.sh new file mode 100644 index 00000000000..b4fc5c915ae --- /dev/null +++ b/charts/kube-prometheus-stack/lint.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env sh + +echo "lint test" + +exit 2