-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathTaskfile.yaml
38 lines (31 loc) · 956 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
---
# yaml-language-server: $schema=https://taskfile.dev/schema.json
version: "3"
set: [pipefail]
shopt: [globstar]
vars:
KUBERNETES_DIR: "{{.ROOT_DIR}}/kubernetes"
TALOS_DIR: "{{.ROOT_DIR}}/talos"
BOOTSTRAP_DIR: "{{.ROOT_DIR}}/bootstrap"
CLUSTER: '{{.CLUSTER | default "main"}}'
CLUSTER_DIR: '{{.ROOT_DIR}}/kubernetes/{{.CLUSTER}}'
env:
KUBECONFIG: "{{.KUBERNETES_DIR}}/kubernetes/main/kubeconfig"
SOPS_AGE_KEY_FILE: "{{.ROOT_DIR}}/age.key"
TALOSCONFIG: '{{.CLUSTER_DIR}}/talosconfig'
includes:
flux: .taskfiles/Flux/Taskfile.yaml
kubernetes: .taskfiles/Kubernetes/Taskfile.yaml
rook: .taskfiles/Rook/Taskfile.yaml
talos: .taskfiles/Talos/Taskfile.yaml
volsync: .taskfiles/VolSync/Taskfile.yaml
workstation: .taskfiles/Workstation/Taskfile.yaml
tasks:
default:
cmd: task --list
silent: true
# Ref: https://github.com/go-task/task/issues/608
noop:
internal: true
silent: true
cmd: noop() { :; }