summaryrefslogtreecommitdiff
path: root/shell-scripts/compile
diff options
context:
space:
mode:
Diffstat (limited to 'shell-scripts/compile')
-rwxr-xr-xshell-scripts/compile40
1 files changed, 0 insertions, 40 deletions
diff --git a/shell-scripts/compile b/shell-scripts/compile
deleted file mode 100755
index 04c0586..0000000
--- a/shell-scripts/compile
+++ /dev/null
@@ -1,40 +0,0 @@
-#!@bash@/bin/bash
-echo " Compiliiing ${@}"
-
-error () {
- echo "$1"
- exit 1
-}
-
-case "${@}" in
- racket*)
- shift
- echo " \-> racket -l errortrace -t ${@}"
- racket -l errortrace -t ${@}
- ;;
- ansible-lint*)
- shift
- echo " \-> ansible-lint --profile production --write=all -qq --nocolor"
- ansible-lint --profile production --write=all -qq --nocolor ${@}
- ;;
- ansible-playbook*)
- shift
- echo " \-> ansible-playbook -e@<(pass)"
- ansible-playbook -b -e "{\"ansible_become_pass\":\"$PASSWORD\"}" ${@}
- ;;
- awx*)
- echo " \-> awx"
- shift
- awx "$@" | filter-ansi
- ;;
- 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"
- ;;
- *)
- echo " \-> ${@}"
- ${@}
- ;;
-esac