Compare commits
1 Commits
main
...
a32a6c9c0c
| Author | SHA1 | Date | |
|---|---|---|---|
| a32a6c9c0c |
26
.drone.yml
26
.drone.yml
@@ -11,37 +11,17 @@ volumes:
|
|||||||
name: flexvolsmb-drone-scratch
|
name: flexvolsmb-drone-scratch
|
||||||
|
|
||||||
steps:
|
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)
|
- name: Build CAPV image(s)
|
||||||
image: bv11-cr01.bessems.eu/library/packer-extended
|
image: k8s.gcr.io/scl-image-builder/cluster-node-image-builder-amd64:v0.1.11
|
||||||
pull: always
|
pull: always
|
||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
apt-get update
|
ls -lash
|
||||||
- |
|
- |
|
||||||
apt-get install -y \
|
make build-node-ova-vsphere-ubuntu-2204
|
||||||
curl \
|
|
||||||
make
|
|
||||||
- |
|
|
||||||
jq '.password="'"$VSPHERE_PASSWORD"'"' ./packer/ova/vsphere.json > /tmp/vsphere.json && \
|
|
||||||
mv /tmp/vsphere.json ./packer/ova/vsphere.json
|
|
||||||
- |
|
|
||||||
make deps-ova
|
|
||||||
- |
|
|
||||||
make build-node-ova-vsphere-ubuntu-2004
|
|
||||||
- |
|
|
||||||
mv -fv ./output/**/*.ova /output
|
|
||||||
environment:
|
environment:
|
||||||
VSPHERE_PASSWORD:
|
VSPHERE_PASSWORD:
|
||||||
from_secret: vsphere_password
|
from_secret: vsphere_password
|
||||||
IB_OVFTOOL: true
|
|
||||||
IB_OVFTOOL_ARGS: --allowExtraConfig
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: output
|
- name: output
|
||||||
path: /output
|
path: /output
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user