hcloud-server-tf/.woodpecker/test.yml
Robert Kaussow 5d1e000642
Some checks failed
ci/woodpecker/pr/test Pipeline failed
ci/woodpecker/pr/build-package unknown status
chore: use opentofu and replace restapi provider
2024-03-10 14:16:42 +01:00

25 lines
501 B
YAML

---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
- name: git-spaces
image: quay.io/thegeeklab/alpine-tools
commands:
- git diff-tree --check $(git hash-object -t tree /dev/null) HEAD
- name: tflint
image: ghcr.io/terraform-linters/tflint
commands:
- tflint --color
- name: tofu
image: quay.io/thegeeklab/wp-opentofu
settings:
action:
- validate
tofu_version: 1.6.1