2023-02-22 20:24:42 +00: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: 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 20:29:00 +00:00
|
|
|
- |
|
|
|
|
apt-get update
|
|
|
|
- |
|
|
|
|
apt-get install -y \
|
2023-02-22 20:31:52 +00:00
|
|
|
curl \
|
2023-02-22 20:29:00 +00:00
|
|
|
make
|
2023-02-22 20:24:42 +00:00
|
|
|
- |
|
|
|
|
make deps
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: output
|
|
|
|
path: /output
|