chore: Debug packer validate workflow step #2
Some checks failed
Container & Helm chart / Linting (push) Successful in 5s
Container & Helm chart / Semantic Release (Dry-run) (push) Successful in 57s
Container & Helm chart / Kubernetes Bootstrap Appliance (push) Failing after 21s

This commit is contained in:
Danny Bessems 2024-06-05 12:03:46 +10:00
parent 8555e677b3
commit 55c594d242

View File

@ -77,7 +77,18 @@ jobs:
run: packer init -upgrade ./packer
- name: Run `packer validate`
id: validate
run: packer validate ./packer
run: |
packer validate \
-only=vsphere-iso.bootstrap \
-var docker_username=${{ secrets.DOCKER_USERNAME }} \
-var docker_password=${{ secrets.DOCKER_PASSWORD }} \
-var repo_username=${{ secrets.REPO_USERNAME }} \
-var repo_password=${{ secrets.REPO_PASSWORD }} \
-var ssh_password=${{ secrets.SSH_PASSWORD }} \
-var hv_password=${{ secrets.HV_PASSWORD }} \
-var k8s_version=${{ steps.get_k8sversion.outputs.result }} \
-var appliance_version=${{ needs.semrel_dryrun.outputs.version }} \
./packer
# run: |
# packer validate \
# -e PACKER_LOG=1 \