Files
terraform-git/.woodpecker/apply.yaml
T
unkinben 1a5921d9b0
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/plan Pipeline was successful
feat: only run apply when plan detects changes
2026-06-11 23:21:51 +10:00

23 lines
475 B
YAML

when:
- event: push
branch: main
steps:
- name: apply
image: git.unkin.net/unkin/almalinux9-opentofu:20260606
environment:
VAULT_AUTH_METHOD: kubernetes
commands:
- dnf install vault -y
- make apply-if-changes
backend_options:
kubernetes:
serviceAccountName: terraform-git
resources:
requests:
memory: 512Mi
cpu: 1
limits:
memory: 2Gi
cpu: 2