-
Notifications
You must be signed in to change notification settings - Fork 0
/
Taskfile.yaml
37 lines (30 loc) · 877 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
---
# yaml-language-server: $schema=https://taskfile.dev/schema.json
version: '3'
set: [pipefail]
shopt: [globstar]
vars:
CLUSTER: '{{.CLUSTER | default "homelab-k8s-001"}}'
CLUSTER_DIR: '{{.ROOT_DIR}}/kubernetes/{{.CLUSTER}}'
env:
GOPATH: '{{.ROOT_DIR}}/.go'
KUBECONFIG: '{{.CLUSTER_DIR}}/talos/kubeconfig'
MINIJINJA_CONFIG_FILE: '{{.ROOT_DIR}}/.minijinja.toml'
SOPS_AGE_KEY_FILE: '{{.ROOT_DIR}}/age.key'
TALOSCONFIG: '{{.CLUSTER_DIR}}/talos/clusterconfig/talosconfig'
VIRTUAL_ENV: '{{.ROOT_DIR}}/.venv'
includes:
bootstrap: .taskfiles/bootstrap
kubernetes: .taskfiles/kubernetes
talos: .taskfiles/talos
volsync: .taskfiles/volsync
workstation: .taskfiles/workstation
tasks:
default:
cmd: task --list
silent: true
# Ref: https://github.com/go-task/task/issues/608
noop:
internal: true
silent: true
cmd: noop() { :; }