Some checks reported errors
continuous-integration/drone/push Build encountered an error
32 lines
732 B
YAML
32 lines
732 B
YAML
kind: pipeline
|
|
type: kubernetes
|
|
name: 'CAPI ImageBuilder'
|
|
|
|
volumes:
|
|
- name: output
|
|
claim:
|
|
name: flexvolsmb-drone-output
|
|
- name: scratch
|
|
claim:
|
|
name: flexvolsmb-drone-scratch
|
|
|
|
steps:
|
|
- name: Build CAPV image(s)
|
|
image: k8s.gcr.io/scl-image-builder/cluster-node-image-builder-amd64:v0.1.13
|
|
pull: always
|
|
commands:
|
|
- |
|
|
jq '.password="'"$VSPHERE_PASSWORD"'"' vsphere.json > /tmp/vsphere.json && \
|
|
mv /tmp/vsphere.json vsphere.json
|
|
- |
|
|
make -C /home/imagebuilder help
|
|
make -C /home/imagebuilder build-node-ova-vsphere-ubuntu-2204
|
|
environment:
|
|
VSPHERE_PASSWORD:
|
|
from_secret: vsphere_password
|
|
PACKER_VAR_FILES:
|
|
/drone/src/vsphere.json
|
|
volumes:
|
|
- name: output
|
|
path: /output
|