Add environment init script.

This commit is contained in:
Joseph Hanson 2023-08-21 16:22:29 -05:00
parent 742f8b05ce
commit 3d260e546a

View file

@ -28,6 +28,38 @@ tasks:
silent: true
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:
desc: Install or upgrade the Python virtual env
cmds: