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