This repository has been archived on 2025-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ClusterAPI.imageBuilder/.drone.yml
Danny Bessems 2d873f3c20
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Check folder contents
2023-02-23 21:30:15 +01:00

33 lines
736 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.11
pull: always
commands:
- |
ls /home/imagebuilder/ -lashR
- |
jq '.password="'"$VSPHERE_PASSWORD"'"' vsphere.json > /tmp/vsphere.json && \
mv /tmp/vsphere.json vsphere.json
- |
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