Revert parallelism;Show timestamps;Workspace-vol
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
b3f358953b
commit
fe0341effb
17
.drone.yml
17
.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
|
Loading…
Reference in New Issue
Block a user