chore: Debug packer validate workflow step #3
This commit is contained in:
parent
55c594d242
commit
34af03ca99
@ -78,8 +78,14 @@ jobs:
|
||||
- name: Run `packer validate`
|
||||
id: validate
|
||||
run: |
|
||||
echo ${{ gitea }}
|
||||
echo ${{ gitea.job }}
|
||||
echo ${{ gitea.sha:0:10 }}
|
||||
echo $(openssl rand -hex 3)
|
||||
|
||||
packer validate \
|
||||
-only=vsphere-iso.bootstrap \
|
||||
-var vm_name=${{ gitea.job }}-${{ gitea.sha:0:10 }}-$(openssl rand -hex 3) \
|
||||
-var docker_username=${{ secrets.DOCKER_USERNAME }} \
|
||||
-var docker_password=${{ secrets.DOCKER_PASSWORD }} \
|
||||
-var repo_username=${{ secrets.REPO_USERNAME }} \
|
||||
@ -89,24 +95,10 @@ jobs:
|
||||
-var k8s_version=${{ steps.get_k8sversion.outputs.result }} \
|
||||
-var appliance_version=${{ needs.semrel_dryrun.outputs.version }} \
|
||||
./packer
|
||||
# run: |
|
||||
# packer validate \
|
||||
# -e PACKER_LOG=1 \
|
||||
# -only=vsphere-iso.bootstrap \
|
||||
# -var vm_name=${{ gitea.job }}-${{ gitea.sha:0:10 }}-$(openssl rand -hex 3) \
|
||||
# -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
|
||||
- name: Run `packer build`
|
||||
run: |
|
||||
packer build \
|
||||
-e PACKER_LOG=1 \
|
||||
# -e PACKER_LOG=1 \
|
||||
-only=vsphere-iso.bootstrap \
|
||||
-var vm_name=${{ gitea.job }}-${{ gitea.sha:0:10 }}-$(openssl rand -hex 3) \
|
||||
-var docker_username=${{ secrets.DOCKER_USERNAME }} \
|
||||
|
Loading…
Reference in New Issue
Block a user