chore: Retain VM to allow debugging
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2023-10-23 14:06:32 +02:00
parent 8e7e23c8bc
commit 3bc3da54be

View File

@ -113,7 +113,7 @@ steps:
./packer ./packer
- | - |
packer build \ packer build \
-on-error=cleanup -timestamp-ui \ -on-error=abort -timestamp-ui \
-only=vsphere-iso.bootstrap \ -only=vsphere-iso.bootstrap \
-var vm_name=${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_SHA:0:10}-$(openssl rand -hex 3) \ -var vm_name=${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_SHA:0:10}-$(openssl rand -hex 3) \
-var docker_username=$${DOCKER_USERNAME} \ -var docker_username=$${DOCKER_USERNAME} \
@ -173,7 +173,7 @@ steps:
./packer ./packer
- | - |
packer build \ packer build \
-on-error=cleanup -timestamp-ui \ -on-error=abort -timestamp-ui \
-only=vsphere-iso.upgrade \ -only=vsphere-iso.upgrade \
-var vm_name=${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_SHA:0:10}-$(openssl rand -hex 3) \ -var vm_name=${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_SHA:0:10}-$(openssl rand -hex 3) \
-var docker_username=$${DOCKER_USERNAME} \ -var docker_username=$${DOCKER_USERNAME} \