2023-02-22 20:24:42 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: kubernetes
|
|
|
|
name: 'CAPI ImageBuilder'
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: output
|
|
|
|
claim:
|
|
|
|
name: flexvolsmb-drone-output
|
|
|
|
|
|
|
|
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:
|
2023-02-22 21:02:32 +00:00
|
|
|
- |
|
2023-02-23 11:23:06 +00:00
|
|
|
jq '.password="'"$VSPHERE_PASSWORD"'"' ./packer/ova/vsphere.json > /tmp/vsphere.json && \
|
2023-02-23 11:09:36 +00:00
|
|
|
mv /tmp/vsphere.json ./packer/ova/vsphere.json
|
2023-02-22 21:02:32 +00:00
|
|
|
- |
|
|
|
|
make deps-ova
|
2023-02-22 20:24:42 +00:00
|
|
|
- |
|
2023-05-19 10:11:01 +00:00
|
|
|
make build-node-ova-vsphere-ubuntu-2204
|
2023-02-25 09:48:18 +00:00
|
|
|
- |
|
2023-02-25 12:28:14 +00:00
|
|
|
mv -fv ./output/**/*.ova /output
|
2023-02-22 21:02:32 +00:00
|
|
|
environment:
|
|
|
|
VSPHERE_PASSWORD:
|
|
|
|
from_secret: vsphere_password
|
2023-03-02 08:45:02 +00:00
|
|
|
IB_OVFTOOL: true
|
|
|
|
IB_OVFTOOL_ARGS: --allowExtraConfig
|
2023-02-22 20:24:42 +00:00
|
|
|
volumes:
|
|
|
|
- name: output
|
|
|
|
path: /output
|