code-server/ci/dev/helm.sh

15 lines
205 B
Bash
Raw Normal View History

2022-09-17 13:17:32 +08:00
#!/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 "$@"