packer-proxmox/.woodpecker/test.yml

24 lines
564 B
YAML
Raw Normal View History

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