Add build step
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
19036d1c7f
commit
e5f6afdc28
50
.drone.yml
50
.drone.yml
@ -6,37 +6,31 @@ volumes:
|
|||||||
- name: output
|
- name: output
|
||||||
claim:
|
claim:
|
||||||
name: flexvolsmb-drone-output
|
name: flexvolsmb-drone-output
|
||||||
# - name: scratch
|
- name: scratch
|
||||||
# temp: {}
|
temp: {}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone skopeo source repository
|
- name: Clone skopeo source repository
|
||||||
image: bv11-cr01.bessems.eu/proxy/alpine/git
|
image: bv11-cr01.bessems.eu/proxy/alpine/git
|
||||||
commands:
|
commands:
|
||||||
- pwd
|
- git clone https://github.com/containers/skopeo.git /tmp/skopeo && cd /tmp/skopeo
|
||||||
- git clone https://github.com/containers/skopeo.git ./skopeo
|
|
||||||
- ls . -lash
|
|
||||||
- git checkout tags/v1.9.1
|
- git checkout tags/v1.9.1
|
||||||
# volumes:
|
volumes:
|
||||||
# - name: scratch
|
- name: scratch
|
||||||
# path: /tmp
|
path: /tmp
|
||||||
|
- name: Build binary
|
||||||
# - name: Remove temporary resources
|
image: bv11-cr01.bessems.eu/proxy/library/golang
|
||||||
# image: bv11-cr01.bessems.eu/library/packer-extended
|
commands:
|
||||||
# commands:
|
- apt-get update && apt-get install -y go-md2man
|
||||||
# - |
|
- |
|
||||||
# pwsh -file scripts/Remove-Resources.ps1 \
|
make \
|
||||||
# -VMName $DRONE_BUILD_NUMBER-${DRONE_COMMIT_SHA:0:10} \
|
-C /tmp/skopeo
|
||||||
# -VSphereFQDN 'bv11-vc.bessems.lan' \
|
BUILDTAGS=containers_image_openpgp \
|
||||||
# -VSphereUsername 'administrator@vsphere.local' \
|
GO_DYN_FLAGS=
|
||||||
# -VSpherePassword $${VSPHERE_PASSWORD}
|
- /tmp/skopeo/bin/skopeo --version
|
||||||
# environment:
|
# - cp /tmp/skopeo/bin/skopeo /output
|
||||||
# VSPHERE_PASSWORD:
|
environment:
|
||||||
# from_secret: vsphere_password
|
CGO_ENABLED: 0
|
||||||
# volumes:
|
volumes:
|
||||||
# - name: scratch
|
- name: output
|
||||||
# path: /scratch
|
path: /output
|
||||||
# when:
|
|
||||||
# status:
|
|
||||||
# - success
|
|
||||||
# - failure
|
|
||||||
|
Loading…
Reference in New Issue
Block a user