Skip to content

Commit

Permalink
[CI] Introduce interface for additional lint tasks
Browse files Browse the repository at this point in the history
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
  • Loading branch information
jkroepke committed Nov 10, 2023
1 parent e64c7be commit 23f7f36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/linters/ct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
5 changes: 5 additions & 0 deletions charts/kube-prometheus-stack/lint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env sh

echo "lint test"

exit 2

0 comments on commit 23f7f36

Please sign in to comment.