-
Notifications
You must be signed in to change notification settings - Fork 0
/
Taskfile.yml
57 lines (53 loc) · 1.05 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
version: "3"
vars:
KUBERNETES_DIR: "{{.ROOT_DIR}}/k8s"
TERRAFORM_DIR: "{{.ROOT_DIR}}/terraform"
ANSIBLE_DIR: "{{.ROOT_DIR}}/ansible"
ANSIBLE_PLAYBOOK_DIR: "playbooks"
includes:
precommit: .taskfiles/precommit.yml
ansible:
taskfile: .taskfiles/ansible.yml
aliases: [a]
dir: ansible
app:
taskfile: .taskfiles/app.yml
dir: ansible
tf: .taskfiles/terraform.yml
tasks:
default:
desc: List tasks
cmds:
- go-task --list-all
init:
desc: Initialize workstation dependencies
cmds:
- yay -S {{.DEPS}}
- direnv allow {{.ROOT_DIR}}
- task: precommit:init
- task: ansible:pip
- task: ansible:galaxy
preconditions:
- sh: command -v yay
msg: |
yay is not installed
vars:
DEPS: >-
age
direnv
go-yq
helm
jq
kubectl
kustomize
git-crypt
python-pre-commit
sops
terraform
terragrunt
tflint
yamllint
argocd
doppler-cli-bin
k9s