charts/Taskfile.yaml

43 lines
768 B
YAML

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
silent: false
cmds:
- |
for f in $(ls -d charts/* | fgrep -v '.yaml')
helm lint $f
end
install:
desc: Manual install of chart
cmds:
- helm install tmp {{ .CLI_ARGS }}
reinstall:
desc: Remove installed chart
cmds:
- helm uninstall tmp
- helm install tmp {{ .CLI_ARGS }}
remove:
desc: Remove installed chart
cmds:
- helm uninstall tmp
default:
silent: true
cmds:
- task -l