-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskfile.yaml
48 lines (42 loc) · 987 Bytes
/
Taskfile.yaml
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
---
version: "3"
vars:
KUBERNETES_DIR: "{{.ROOT_DIR}}/kubernetes"
KUBECONFIG_FILE: "{{.ROOT_DIR}}/kubeconfig"
SCRIPTS_DIR: "{{.ROOT_DIR}}/scripts"
SOPS_CONFIG_FILE: "{{.ROOT_DIR}}/.sops.yaml"
AGE_DIR: ~/.config/sops/age
AGE_FILE: "{{.AGE_DIR}}/arc1.key"
#env:
# KUBECONFIG: "{{.KUBECONFIG_FILE}}"
# SOPS_AGE_KEY_FILE: "{{.AGE_FILE}}"
dotenv: [".env"]
includes:
flux:
taskfile: .taskfiles/flux.yaml
aliases: [f]
kubernetes:
taskfile: .taskfiles/kubernetes.yaml
aliases: [k]
sops:
taskfile: .taskfiles/sops.yaml
aliases: [s]
talos:
taskfile: .taskfiles/talos.yaml
aliases: [t]
terraform:
taskfile: .taskfiles/terraform.yaml
aliases: [tf]
precommit: .taskfiles/precommit.yaml
tasks:
default:
silent: true
cmds:
- task -l
init:
desc: Install dependencies and setup environment
cmds:
- task: setup:init
- task: precommit:init
- task: precommit:update
- task: sops:setup