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

This commit is contained in:
Danny Bessems 2024-06-05 11:58:40 +10:00
parent 3cefd67458
commit 8555e677b3

View File

@ -77,20 +77,21 @@ jobs:
run: packer init -upgrade ./packer run: packer init -upgrade ./packer
- name: Run `packer validate` - name: Run `packer validate`
id: validate id: validate
run: | run: packer validate ./packer
packer validate \ # run: |
-e PACKER_LOG=1 \ # packer validate \
-only=vsphere-iso.bootstrap \ # -e PACKER_LOG=1 \
-var vm_name=${{ gitea.job }}-${{ gitea.sha:0:10 }}-$(openssl rand -hex 3) \ # -only=vsphere-iso.bootstrap \
-var docker_username=${{ secrets.DOCKER_USERNAME }} \ # -var vm_name=${{ gitea.job }}-${{ gitea.sha:0:10 }}-$(openssl rand -hex 3) \
-var docker_password=${{ secrets.DOCKER_PASSWORD }} \ # -var docker_username=${{ secrets.DOCKER_USERNAME }} \
-var repo_username=${{ secrets.REPO_USERNAME }} \ # -var docker_password=${{ secrets.DOCKER_PASSWORD }} \
-var repo_password=${{ secrets.REPO_PASSWORD }} \ # -var repo_username=${{ secrets.REPO_USERNAME }} \
-var ssh_password=${{ secrets.SSH_PASSWORD }} \ # -var repo_password=${{ secrets.REPO_PASSWORD }} \
-var hv_password=${{ secrets.HV_PASSWORD }} \ # -var ssh_password=${{ secrets.SSH_PASSWORD }} \
-var k8s_version=${{ steps.get_k8sversion.outputs.result }} \ # -var hv_password=${{ secrets.HV_PASSWORD }} \
-var appliance_version=${{ needs.semrel_dryrun.outputs.version }} \ # -var k8s_version=${{ steps.get_k8sversion.outputs.result }} \
./packer # -var appliance_version=${{ needs.semrel_dryrun.outputs.version }} \
# ./packer
- name: Run `packer build` - name: Run `packer build`
run: | run: |
packer build \ packer build \