From fe0341effbcd8ecb4bfc0eec5ef585f2814c1d32 Mon Sep 17 00:00:00 2001 From: djpbessems Date: Sat, 13 Feb 2021 09:59:16 +0100 Subject: [PATCH] Revert parallelism;Show timestamps;Workspace-vol --- .drone.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) 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