Revert parallelism;Show timestamps;Workspace-vol
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Danny Bessems 2021-02-13 09:59:16 +01:00
parent b3f358953b
commit fe0341effb

View File

@ -2,6 +2,14 @@ kind: pipeline
type: kubernetes type: kubernetes
name: 'Packer Build' name: 'Packer Build'
volumes:
- name: output
claim:
name: flexvolsmb-drone-output
- name: workspace
claim:
name: flexvolsmb-drone-workspace
steps: steps:
- name: Windows Server 2019 - name: Windows Server 2019
image: bv11-cr01.bessems.eu/library/packer-extended image: bv11-cr01.bessems.eu/library/packer-extended
@ -23,7 +31,7 @@ steps:
packer/windowsserver2019.json packer/windowsserver2019.json
- | - |
packer build \ packer build \
-on-error=cleanup -parallel-builds=1 \ -on-error=cleanup -timestamp-ui \
-var-file=packer/variables.vsphere.json \ -var-file=packer/variables.vsphere.json \
-var vm_name=$DRONE_BUILD_NUMBER-${DRONE_COMMIT_SHA:0:10} \ -var vm_name=$DRONE_BUILD_NUMBER-${DRONE_COMMIT_SHA:0:10} \
-var vm_guestos=server2019 \ -var vm_guestos=server2019 \
@ -47,6 +55,8 @@ steps:
volumes: volumes:
- name: output - name: output
path: /output path: /output
- name: workspace
path: /drone/src
- name: Trigger downstream builds - name: Trigger downstream builds
image: plugins/downstream image: plugins/downstream
settings: settings:
@ -57,8 +67,3 @@ steps:
repositories: repositories:
- djpbessems/Packer.Images@ADCS - djpbessems/Packer.Images@ADCS
- djpbessems/Packer.Images@ADDS - djpbessems/Packer.Images@ADDS
volumes:
- name: output
claim:
name: flexvolsmb-drone-output