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

This commit is contained in:
Danny Bessems 2024-06-05 12:44:18 +10:00
parent 95c14fc385
commit 691dcee21f

View File

@ -78,11 +78,11 @@ jobs:
- name: Run `packer validate` - name: Run `packer validate`
id: validate id: validate
run: | run: |
echo "${{ gitea.sha }}" | cut -c 0-10 echo "${{ gitea.sha }}" | cut -c 1-10
echo "$(openssl rand -hex 3)" echo "$(openssl rand -hex 3)"
packer validate \ packer validate \
-only=vsphere-iso.bootstrap \ -only=vsphere-iso.bootstrap \
-var vm_name=${{ gitea.run_number }} \ -var vm_name=${{ gitea.run_number }}-$(echo "${{ gitea.sha }}" | cut -c 1-10) \
-var docker_username=${{ secrets.DOCKER_USERNAME }} \ -var docker_username=${{ secrets.DOCKER_USERNAME }} \
-var docker_password=${{ secrets.DOCKER_PASSWORD }} \ -var docker_password=${{ secrets.DOCKER_PASSWORD }} \
-var repo_username=${{ secrets.REPO_USERNAME }} \ -var repo_username=${{ secrets.REPO_USERNAME }} \