2024-01-17 20:35:42 +00:00
|
|
|
---
|
|
|
|
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
|
|
|
|
|
2024-03-14 19:54:45 +00:00
|
|
|
- name: tofu
|
|
|
|
image: quay.io/thegeeklab/wp-opentofu
|
2024-01-17 20:35:42 +00:00
|
|
|
settings:
|
2024-03-14 19:56:00 +00:00
|
|
|
action:
|
2024-01-17 20:35:42 +00:00
|
|
|
- validate
|
2024-03-14 19:54:45 +00:00
|
|
|
tofu_version: 1.6.1
|