-
Notifications
You must be signed in to change notification settings - Fork 0
/
Taskfile.yml
executable file
·47 lines (41 loc) · 1 KB
/
Taskfile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
version: '3'
env:
RELEASE_NAME: sulfoxide-krypton
includes:
util: tasks/Taskfile.util.yaml
entei:topaz:
taskfile: tasks/Taskfile.cluster.yaml
vars:
LANDSCAPE: entei
CLUSTER: topaz
entei:amber:
taskfile: tasks/Taskfile.cluster.yaml
vars:
LANDSCAPE: entei
CLUSTER: amber
tasks:
# Utility
start:cluster:
desc: Starts the playground cluster to test helm charts
cmds:
- ./scripts/local/create-k3d-cluster.sh
stop:cluster:
desc: Destroys the playground cluster to test helm charts
cmds:
- ./scripts/local/delete-k3d-cluster.sh
# Helm Operations
update:
desc: Update Helm dependencies
dir: chart
cmds:
- helm dependency update
latest:
desc: Get the latest version of Cert Manager
cmds:
- >-
echo "karpenter: $(skopeo list-tags docker://public.ecr.aws/karpenter/karpenter
| jq -r '.Tags[]'
| grep -Eo '\b[0-9]+\.[0-9]+\.[0-9]+\b'
| sort -V
| tail -n 1
)"