generated from onedr0p/cluster-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskfile.yaml
34 lines (28 loc) · 807 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
---
# yaml-language-server: $schema=https://taskfile.dev/schema.json
version: "3"
set: [pipefail]
shopt: [globstar]
vars:
CLUSTER_DIR: "{{.ROOT_DIR}}/kubernetes"
BOOTSTRAP_DIR: "{{.CLUSTER_DIR}}/bootstrap"
TALHELPER_DIR: "{{.ROOT_DIR}}/kubernetes/talos"
TALOSCONFIG: "{{.TALHELPER_DIR}}/clusterconfig/talosconfig"
env:
KUBECONFIG: "{{.CLUSTER_DIR}}/kubeconfig"
MINIJINJA_CONFIG_FILE: "{{.ROOT_DIR}}/.minijinja.toml"
TALOSCONFIG: "{{.TALHELPER_DIR}}/clusterconfig/talosconfig"
includes:
bootstrap: .taskfiles/bootstrap
kubernetes: .taskfiles/kubernetes
talos: .taskfiles/talos
volsync: .taskfiles/volsync
tasks:
default:
cmd: task --list
silent: true
# Ref: https://github.com/go-task/task/issues/608
noop:
internal: true
silent: true
cmd: noop() { :; }