-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTaskfile.yaml
More file actions
72 lines (67 loc) · 2.2 KB
/
Copy pathTaskfile.yaml
File metadata and controls
72 lines (67 loc) · 2.2 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
61
62
63
64
65
66
67
68
69
70
71
72
---
# yaml-language-server: $schema=https://taskfile.dev/schema.json
version: "3"
dotenv: ["{{.ROOT_DIR}}/.env", "{{.HOME}}/.env"]
env:
# Vendored KCL paths, inherited by all includes. Mirrors the devshell shellHook
# so a `kcl run` resolves the same library/package/cache whether or not direnv
# exported them.
KCL_LIB_HOME: "{{.ROOT_DIR}}/.nix/kcl/lib"
KCL_PKG_PATH: "{{.ROOT_DIR}}/.nix/kcl/kpm"
KCL_CACHE_PATH: "{{.ROOT_DIR}}/.nix/kcl/cache"
vars:
TALOS_DIR: "{{.ROOT_DIR}}/clusters"
TERRAFORM_DIR: "{{.ROOT_DIR}}/terraform"
KYVERNO_POLICY_DIR: "{{.ROOT_DIR}}/applications/base/kyverno-policies/policies"
# Forwarded to every `kcl run` so local renders are byte-identical to the
# in-cluster CMP output (apps/argo/cd/base/values.yaml configs.cmp.plugins.kcl.generate).
# --quiet in particular suppresses the "waiting for package-cache lock..." line
# kcl can otherwise emit to stdout and corrupt a captured render. The CMP also
# passes --log_level=info --log_format=json; omitted here since those shape only
# stderr, not the manifest.
KCL_RUN_FLAGS: "--no_style --quiet"
includes:
argocd:
taskfile: ./.taskfiles/argo-cd/Taskfile.yaml
aliases: [acd]
talos:
taskfile: ./.taskfiles/talos/Taskfile.yaml
dir: "{{.TALOS_DIR}}"
aliases: [tal]
talos-docker:
taskfile: ./.taskfiles/talos-docker/Taskfile.yaml
aliases: [tald]
externalsecrets:
taskfile: .taskfiles/external-secrets/Taskfile.yaml
aliases: [es]
kube:
taskfile: ./.taskfiles/kube/Taskfile.yaml
aliases: [k]
kyverno:
taskfile: ./.taskfiles/kyverno/Taskfile.yaml
dir: "{{.KYVERNO_POLICY_DIR}}"
aliases: [ky]
renovate:
taskfile: ./.taskfiles/renovate/Taskfile.yaml
aliases: [rv]
repo:
taskfile: ./.taskfiles/repo/Taskfile.yaml
aliases: [r]
rookceph:
taskfile: .taskfiles/rook-ceph/Taskfile.yaml
aliases: [rook]
terraform:
taskfile: ./.taskfiles/terraform/Taskfile.yaml
dir: "{{.TERRAFORM_DIR}}"
aliases: [tf]
turingpi:
taskfile: ./.taskfiles/turing-pi/Taskfile.yaml
aliases: [tpi]
kcl:
taskfile: ./.taskfiles/kcl/Taskfile.yaml
nix:
taskfile: ./.taskfiles/nix/Taskfile.yaml
tasks:
default:
silent: true
cmd: task -l