charts/Taskfile.yaml

51 lines
952 B
YAML

version: "3"
vars:
PROJECT_DIR:
sh: "git rev-parse --show-toplevel"
tasks:
act:
interactive: true
env:
DOCKER_HOST: ssh://colima
cmds:
- |
act --container-architecture linux/amd64 -W .forgejo/workflows -P flakes-action=code.252.no/tommy/flakes-action:latest
test:
silent: false
interactive: true
cmds:
- act --artifact-server-path /tmp/artifacts --container-architecture
linux/amd64
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