-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathTaskfile.yml
38 lines (34 loc) · 1.2 KB
/
Taskfile.yml
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"
vars:
PYTHON_BIN: python3
CLUSTER_DIR: "{{.ROOT_DIR}}/k8s/prod"
KUBERNETES_DIR: "{{.ROOT_DIR}}/k8s/prod"
ANSIBLE_DIR: "{{.ROOT_DIR}}/ansible"
SCRIPTS_DIR: "{{.ROOT_DIR}}/bin"
AGE_FILE: "{{.ROOT_DIR}}/age.key"
CLUSTER_SECRET_SOPS_FILE: k8s/prod/flux/vars/cluster-secrets.sops.yaml
CLUSTER_SETTINGS_FILE: k8s/prod/flux/vars/cluster-settings.yaml
env:
KUBECONFIG_FILE: "{{.ROOT_DIR}}/kubeconfig"
#SOPS_AGE_KEY_FILE: "{{.ROOT_DIR}}/age.key"
#PATH: "{{.ROOT_DIR}}/.venv/bin:$PATH"
VIRTUAL_ENV: "{{.ROOT_DIR}}/.venv"
ANSIBLE_COLLECTIONS_PATH: "{{.ROOT_DIR}}/.venv/galaxy"
ANSIBLE_ROLES_PATH: "{{.ROOT_DIR}}/.venv/galaxy/ansible_roles"
ANSIBLE_VARS_ENABLED: "host_group_vars,community.sops.sops"
K8S_AUTH_KUBECONFIG: "{{.ROOT_DIR}}/kubeconfig"
includes:
kubernetes:
aliases: ["k8s"]
taskfile: .taskfiles/Kubernetes/Taskfile.yaml
volsync: .taskfiles/VolSync/Taskfile.yaml
cluster: .taskfiles/ClusterTasks.yml
external-secrets: .taskfiles/ExternalSecrets/Taskfile.yaml
flux: .taskfiles/Flux/Taskfile.yaml
pg: .taskfiles/Postgres/Taskfile.yaml
tasks:
default:
silent: true
cmds: ["task -l"]