charts/Taskfile.yaml

52 lines
952 B
YAML
Raw Normal View History

version: "3"
vars:
PROJECT_DIR:
sh: "git rev-parse --show-toplevel"
tasks:
2024-11-11 18:38:40 +00:00
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
2024-11-11 18:38:40 +00:00
test:
silent: false
interactive: true
cmds:
2024-11-11 18:38:40 +00:00
- act --artifact-server-path /tmp/artifacts --container-architecture
linux/amd64
2023-12-19 16:53:03 +00:00
validate:
desc: Validate charts
silent: false
cmds:
- |
for f in $(ls -d charts/* | fgrep -v '.yaml')
helm lint $f
end
2023-12-19 16:53:03 +00:00
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:
2023-12-25 18:19:15 +00:00
- task -l