Archived
1
0

fixup!: move helm cmd to yaml

This commit is contained in:
Joe Previte 2022-09-20 14:26:10 -07:00
parent 65b74fc59f
commit 72d69b6cfd
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24
3 changed files with 1 additions and 16 deletions

View File

@ -80,7 +80,7 @@ jobs:
- name: Lint Helm chart
if: steps.changed-files.outputs.any_changed == 'true'
run: ./ci/dev/helm.sh
run: helm kubeval ci/helm-chart
- name: Fail workflow
if: failure()

View File

@ -1,14 +0,0 @@
#!/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

@ -26,7 +26,6 @@
"publish:docker": "./ci/steps/docker-buildx-push.sh",
"_audit": "./ci/dev/audit.sh",
"fmt": "./ci/dev/fmt.sh",
"lint:helm": "./ci/dedv/helm.sh",
"lint:sh": "shellcheck -e SC2046,SC2164,SC2154,SC1091,SC1090,SC2002 $(git ls-files '*.sh' | grep -v 'lib/vscode')",
"lint:ts": "eslint --max-warnings=0 --fix $(git ls-files '*.ts' '*.tsx' '*.js' | grep -v 'lib/vscode')",
"test": "echo 'Run yarn test:unit or yarn test:e2e' && exit 1",