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

32 lines
731 B
YAML
Raw Normal View History

2023-02-22 21:24:42 +01:00
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)
2023-02-23 21:35:28 +01:00
image: k8s.gcr.io/scl-image-builder/cluster-node-image-builder-amd64:latest
2023-02-22 21:24:42 +01:00
pull: always
commands:
2023-02-22 21:29:00 +01:00
- |
2023-02-23 21:27:16 +01:00
jq '.password="'"$VSPHERE_PASSWORD"'"' vsphere.json > /tmp/vsphere.json && \
mv /tmp/vsphere.json vsphere.json
2023-02-22 21:24:42 +01:00
- |
2023-02-23 21:32:13 +01:00
make -C /home/imagebuilder help
2023-02-23 21:35:28 +01:00
make -C /home/imagebuilder build-node-ova-vsphere-ubuntu-2204
2023-02-22 22:02:32 +01:00
environment:
VSPHERE_PASSWORD:
from_secret: vsphere_password
2023-02-23 21:27:16 +01:00
PACKER_VAR_FILES:
/drone/src/vsphere.json
2023-02-22 21:24:42 +01:00
volumes:
- name: output
path: /output