mirror of
https://github.com/immich-app/devtools.git
synced 2026-09-30 21:27:48 +08:00
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
66 lines
1.4 KiB
TOML
66 lines
1.4 KiB
TOML
[tools]
|
|
flux2 = "2.7.5"
|
|
"go:github.com/cloudnative-pg/cloudnative-pg/cmd/kubectl-cnpg" = "1.28.1"
|
|
helm = "4.1.1"
|
|
jq = "1.8.1"
|
|
kubectl = "1.35.1"
|
|
opentofu = "1.11.5"
|
|
"pipx:flux-local" = "8.1.0"
|
|
terragrunt = "0.99.4"
|
|
usage = "2.16.2"
|
|
uv = "0.10.2"
|
|
yamlfmt = "0.21.0"
|
|
|
|
[env]
|
|
KUBECONFIG = "{{config_root}}/.mise/kube.config"
|
|
|
|
[tasks.tg]
|
|
run = "op run '--env-file={{config_root}}/tf/deployment/.env' -- terragrunt"
|
|
description = "Wrapper for terragrunt"
|
|
dir = "{{cwd}}"
|
|
|
|
[tasks."tg:fmt"]
|
|
run = "mise run tg hcl format"
|
|
description = "Format terragrunt files"
|
|
|
|
[tasks.tf]
|
|
run = "mise run tg run --all"
|
|
description = "Wrapper for terragrunt run-all"
|
|
dir = "{{cwd}}"
|
|
|
|
[tasks."tf:fmt"]
|
|
run = "tofu fmt -recursive tf/"
|
|
description = "Format terraform files"
|
|
|
|
[tasks."tf:init"]
|
|
run = "mise run tf init -- -reconfigure"
|
|
dir = "{{cwd}}"
|
|
|
|
[tasks."tf:plan"]
|
|
run = "mise run tf plan"
|
|
dir = "{{cwd}}"
|
|
|
|
[tasks."tf:apply"]
|
|
run = "mise run tf apply"
|
|
dir = "{{cwd}}"
|
|
|
|
[tasks."kube:fmt"]
|
|
run = "yamlfmt kubernetes/ templates/kubernetes/"
|
|
description = "Format kubernetes manifests"
|
|
|
|
[tasks."kube:auth"]
|
|
run = "op inject -i .mise/kube-exec-credential.json | jq '.status.[] |= @base64d'"
|
|
description = "Retrieve kubectl auth key"
|
|
hide = true
|
|
|
|
[tasks."kube:diff"]
|
|
run = "flux-local diff hr --path ./kubernetes -A --branch-orig main"
|
|
description = "Diff kubernetes helm releases"
|
|
|
|
[tasks.fmt]
|
|
depends = ["*:fmt"]
|
|
description = "Format all files"
|
|
|
|
[settings]
|
|
experimental = true
|