version: "3"
vars:
PROJECT_DIR:
sh: "git rev-parse --show-toplevel"
tasks:
test:
silent: false
interactive: true
cmds:
- act --artifact-server-path /tmp/artifacts --container-architecture linux/amd64 -s GITHUB_TOKEN="$(gh auth token)"
validate:
desc: Validate charts
- |
for f in $(ls -d charts/* | fgrep -v '.yaml')
helm lint $f
end
install:
desc: Manual install of chart
- helm install tmp {{ .CLI_ARGS }}
reinstall:
desc: Remove installed chart
- helm uninstall tmp
remove:
default:
silent: true
- task -l