This commit is contained in:
parent
5cae8aaf2c
commit
5bd0a6649f
42
.drone.yml
Normal file
42
.drone.yml
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: kubernetes
|
||||||
|
name: 'Golang Build'
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: output
|
||||||
|
claim:
|
||||||
|
name: flexvolsmb-drone-output
|
||||||
|
# - name: scratch
|
||||||
|
# temp: {}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Clone skopeo source repository
|
||||||
|
image: bv11-cr01.bessems.eu/library/alpine/git
|
||||||
|
commands:
|
||||||
|
- pwd
|
||||||
|
- git clone https://github.com/containers/skopeo.git ./skopeo
|
||||||
|
- ls . -lash
|
||||||
|
- git checkout tags/v1.9.1
|
||||||
|
# volumes:
|
||||||
|
# - name: scratch
|
||||||
|
# path: /tmp
|
||||||
|
|
||||||
|
# - name: Remove temporary resources
|
||||||
|
# image: bv11-cr01.bessems.eu/library/packer-extended
|
||||||
|
# commands:
|
||||||
|
# - |
|
||||||
|
# pwsh -file scripts/Remove-Resources.ps1 \
|
||||||
|
# -VMName $DRONE_BUILD_NUMBER-${DRONE_COMMIT_SHA:0:10} \
|
||||||
|
# -VSphereFQDN 'bv11-vc.bessems.lan' \
|
||||||
|
# -VSphereUsername 'administrator@vsphere.local' \
|
||||||
|
# -VSpherePassword $${VSPHERE_PASSWORD}
|
||||||
|
# environment:
|
||||||
|
# VSPHERE_PASSWORD:
|
||||||
|
# from_secret: vsphere_password
|
||||||
|
# volumes:
|
||||||
|
# - name: scratch
|
||||||
|
# path: /scratch
|
||||||
|
# when:
|
||||||
|
# status:
|
||||||
|
# - success
|
||||||
|
# - failure
|
Loading…
Reference in New Issue
Block a user