Archived
1
0

refactor: add helm script and job

This commit is contained in:
Joe Previte
2022-09-16 22:17:32 -07:00
parent f36c1f5b91
commit 3028e8ebf8
4 changed files with 43 additions and 3 deletions

14
ci/dev/helm.sh Executable file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -euo pipefail
main() {
cd "$(dirname "$0")/../.."
if command -v helm && helm kubeval --help > /dev/null; then
helm kubeval ci/helm-chart
fi
cd "$OLDPWD"
}
main "$@"

View File

@ -6,9 +6,6 @@ main() {
eslint --max-warnings=0 --fix $(git ls-files "*.ts" "*.tsx" "*.js" | grep -v "lib/vscode")
tsc --noEmit --skipLibCheck
if command -v helm && helm kubeval --help > /dev/null; then
helm kubeval ci/helm-chart
fi
cd "$OLDPWD"
}