packer-proxmox/.woodpecker/test.yml

24 lines
564 B
YAML
Raw Normal View History

2024-01-14 20:08:05 +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:36 +00:00
- name: packer-fmt
2024-01-14 20:08:05 +00:00
image: docker.io/hashicorp/packer
commands:
- packer fmt -recursive -check -diff .
2024-01-17 21:01:36 +00:00
- name: packer-validate
image: docker.io/hashicorp/packer
commands:
2024-01-17 21:12:22 +00:00
- packer init rocky-9/
2024-01-17 21:37:44 +00:00
- packer validate -var-file=rocky-9/ci.pkrvars.hcl rocky-9/