packer-hcloud/.woodpecker/test.yml

23 lines
502 B
YAML
Raw Normal View History

2024-01-14 20:16:55 +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
2024-01-17 21:01:14 +00:00
- name: packer-fmt
2024-01-14 20:16:55 +00:00
image: docker.io/hashicorp/packer
commands:
- packer fmt -recursive -check -diff .
2024-01-17 21:01:14 +00:00
- name: packer-validate
image: docker.io/hashicorp/packer
commands:
- packer validate rocky-9/