2023-12-16 16:17:19 +00:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
vars:
|
|
|
|
PROJECT_DIR:
|
|
|
|
sh: "git rev-parse --show-toplevel"
|
|
|
|
|
|
|
|
tasks:
|
2024-04-09 07:48:56 +00:00
|
|
|
test:
|
2024-04-10 10:20:46 +00:00
|
|
|
silent: false
|
|
|
|
interactive: true
|
2024-04-09 07:48:56 +00:00
|
|
|
cmds:
|
2024-04-10 10:20:46 +00:00
|
|
|
- act --artifact-server-path /tmp/artifacts --container-architecture linux/amd64 -s GITHUB_TOKEN="$(gh auth token)"
|
2024-04-09 07:48:56 +00:00
|
|
|
|
|
|
|
|
2023-12-19 16:53:03 +00:00
|
|
|
validate:
|
|
|
|
desc: Validate charts
|
2024-04-10 10:20:46 +00:00
|
|
|
silent: false
|
|
|
|
cmds:
|
|
|
|
- |
|
|
|
|
for f in $(ls -d charts/* | fgrep -v '.yaml')
|
|
|
|
helm lint $f
|
|
|
|
end
|
2023-12-19 16:53:03 +00:00
|
|
|
|
2023-12-25 19:04:41 +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
|
|
|
|
|
2023-12-16 16:17:19 +00:00
|
|
|
default:
|
|
|
|
silent: true
|
|
|
|
cmds:
|
2023-12-25 18:19:15 +00:00
|
|
|
- task -l
|