Delete commit history (containing proprietary code)
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
2021-01-24 10:41:02 +01:00
commit 9dc19c5b17
14 changed files with 815 additions and 0 deletions

37
.drone.yml Normal file
View File

@@ -0,0 +1,37 @@
kind: pipeline
type: kubernetes
name: 'Packer Build'
steps:
- name: Active Directory Certificate Services
image: bv11-cr01.bessems.eu/library/packer-extended
commands:
- |
packer validate \
-var-file=packer/variables.vsphere.json \
-var vm_name=${DRONE_COMMIT_SHA:0:10}-$DRONE_BUILD_NUMBER \
-var vsphere_password=$${VSPHERE_PASSWORD} \
-var winrm_password=$${WINRM_PASSWORD} \
packer/adcs.json
- |
packer build \
-on-error=cleanup \
-var-file=packer/variables.vsphere.json \
-var vm_name=${DRONE_COMMIT_SHA:0:10}-$DRONE_BUILD_NUMBER \
-var vsphere_password=$${VSPHERE_PASSWORD} \
-var winrm_password=$${WINRM_PASSWORD} \
packer/adcs.json
environment:
VSPHERE_PASSWORD:
from_secret: vsphere_password
WINRM_PASSWORD:
from_secret: winrm_password
# PACKER_LOG: 1
volumes:
- name: output
path: /output
volumes:
- name: output
claim:
name: flexvolsmb-drone-output