Files
terragrunt-enc/.woodpecker/apply.yaml
T
Ben Vincent edaab78e22
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful
Escape VAULT_VERSION for woodpecker YAML substitution ($$ -> shell)
2026-07-25 00:32:18 +10:00

24 lines
791 B
YAML

when:
- event: push
branch: main
steps:
- name: apply
image: git.unkin.net/unkin/almalinux9-opentofu:20260606
environment:
VAULT_AUTH_METHOD: kubernetes
VAULT_VERSION: "1.20.0"
commands:
- curl -fsSL -o /tmp/vault.zip "https://artifactapi.k8s.syd1.au.unkin.net/api/v1/remote/hashicorp-releases/vault/$${VAULT_VERSION}/vault_$${VAULT_VERSION}_linux_amd64.zip" && python3 -m zipfile -e /tmp/vault.zip /tmp/ && install -m0755 /tmp/vault /usr/local/bin/vault && rm -f /tmp/vault.zip /tmp/vault /tmp/LICENSE.txt
- make apply
backend_options:
kubernetes:
serviceAccountName: terraform-enc
resources:
requests:
memory: 512Mi
cpu: 1
limits:
memory: 2Gi
cpu: 2