-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTaskfile.yml
More file actions
60 lines (60 loc) · 1.61 KB
/
Copy pathTaskfile.yml
File metadata and controls
60 lines (60 loc) · 1.61 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"output": "prefixed",
"tasks": {
"default": {
"cmds": [
"kr8-helpers check-environment",
{
"task": "gke"
},
{
"task": "digitalocean"
}
]
},
"digitalocean": {
"cmds": [
{
"task": "digitalocean_taskfile"
},
"task -d tmp/digitalocean default"
],
"desc": "generate components for digitalocean"
},
"digitalocean_taskfile": {
"cmds": [
"mkdir -p tmp/digitalocean",
"kr8 jsonnet render --cluster digitalocean --format yaml templates/task-generate-cluster-sequential.jsonnet > tmp/digitalocean/Taskfile.yml"
],
"desc": "generate task file in tmp directory for cluster: digitalocean"
},
"gke": {
"cmds": [
{
"task": "gke_taskfile"
},
"task -d tmp/gke default"
],
"desc": "generate components for gke"
},
"gke_taskfile": {
"cmds": [
"mkdir -p tmp/gke",
"kr8 jsonnet render --cluster gke --format yaml templates/task-generate-cluster-sequential.jsonnet > tmp/gke/Taskfile.yml"
],
"desc": "generate task file in tmp directory for cluster: gke"
},
"taskfiles": {
"cmds": [
{
"task": "gke_taskfile"
},
{
"task": "digitalocean_taskfile"
}
],
"desc": "generate task files for all clusters"
}
},
"version": "2"
}