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 0c0ba1f88a
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Keep imagebuilder folder in default state
2023-02-23 22:04:20 +01:00

46 lines
946 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: Debugging information
image: bv11-cr01.bessems.eu/library/packer-extended
commands:
- ansible --version
- ovftool --version
- packer --version
- yamllint --version
- name: Build CAPV image(s)
image: bv11-cr01.bessems.eu/library/packer-extended
pull: always
commands:
- |
apt-get update
- |
apt-get install -y \
curl \
make
- |
jq '.password="'"$VSPHERE_PASSWORD"'"' /drone/src/override.json > /tmp/json && \
mv /tmp/json /drone/src/override.json
- |
make deps-ova
- |
make build-node-ova-vsphere-ubuntu-2204
environment:
VSPHERE_PASSWORD:
from_secret: vsphere_password
PACKER_VAR_FILES:
/drone/src/override.json
volumes:
- name: output
path: /output