Add environment init script.
This commit is contained in:
parent
742f8b05ce
commit
3d260e546a
1 changed files with 32 additions and 0 deletions
|
@ -28,6 +28,38 @@ tasks:
|
||||||
silent: true
|
silent: true
|
||||||
cmds: ["task -l"]
|
cmds: ["task -l"]
|
||||||
|
|
||||||
|
init:
|
||||||
|
desc: Initialize workstation dependencies with Brew
|
||||||
|
cmds:
|
||||||
|
- brew install {{.DEPS}} {{.CLI_ARGS}}
|
||||||
|
preconditions:
|
||||||
|
- sh: command -v brew
|
||||||
|
msg: |
|
||||||
|
Homebrew is not installed. Using MacOS, Linux or WSL?
|
||||||
|
Head over to https://brew.sh to get up and running.
|
||||||
|
vars:
|
||||||
|
DEPS: >-
|
||||||
|
age
|
||||||
|
ansible
|
||||||
|
direnv
|
||||||
|
derailed/k9s/k9s
|
||||||
|
fluxcd/tap/flux
|
||||||
|
go-task/tap/go-task
|
||||||
|
helm
|
||||||
|
ipcalc
|
||||||
|
jq
|
||||||
|
kubernetes-cli
|
||||||
|
kustomize
|
||||||
|
pre-commit
|
||||||
|
prettier
|
||||||
|
sops
|
||||||
|
stern
|
||||||
|
terraform
|
||||||
|
tflint
|
||||||
|
weaveworks/tap/gitops
|
||||||
|
yamllint
|
||||||
|
yq
|
||||||
|
|
||||||
configure-venv:
|
configure-venv:
|
||||||
desc: Install or upgrade the Python virtual env
|
desc: Install or upgrade the Python virtual env
|
||||||
cmds:
|
cmds:
|
||||||
|
|
Reference in a new issue