summaryrefslogtreecommitdiff
path: root/shell-scripts
diff options
context:
space:
mode:
authorMike Vink <mike.vink@stater.nl>2023-04-24 22:22:27 +0200
committerMike Vink <mike.vink@stater.nl>2023-04-24 22:22:27 +0200
commit0e52a797ba4a57386336a7a5ea80e8e32eadfaa9 (patch)
tree871bcd0ebfbfd71d8b80b7166e39c8a9b4711a75 /shell-scripts
parent9b619f13d5dfa8e4e248ff4100c6e51f404674e1 (diff)
add helm lint
Diffstat (limited to 'shell-scripts')
-rwxr-xr-x[-rw-r--r--]shell-scripts/compile8
1 files changed, 7 insertions, 1 deletions
diff --git a/shell-scripts/compile b/shell-scripts/compile
index 102d4b8..fb96335 100644..100755
--- a/shell-scripts/compile
+++ b/shell-scripts/compile
@@ -1,4 +1,4 @@
-#!@bash@/bin/bash
+#!/bin/bash
echo " Compiliiing ${@}"
error () {
@@ -7,6 +7,12 @@ error () {
}
case "${@}" in
+ helm\ lint*)
+ shift
+ shift
+ echo " \-> helm lint --set cluster=debug-cluster --strict --quiet --with-subcharts ${@}"
+ helm lint --set cluster=debug-cluster --strict --quiet --with-subcharts ${@} | sed -u -E -e "s@$(basename ${PWD})/|error during tpl function execution for \".*\"@@g"
+ ;;
racket*)
shift
echo " \-> racket -l errortrace -t ${@}"