Compare commits
17 Commits
a32a6c9c0c
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 652a5d25c9 | |||
| 8b30841fc4 | |||
| af4c3a1b08 | |||
| 51f36b921d | |||
| 5d279e0e86 | |||
| 567749e74d | |||
| 3b644541dd | |||
| d29e73a424 | |||
| ad38b34ce4 | |||
| 0a2cc82e2d | |||
| e27b3f1f6f | |||
| 963930e04d | |||
| 8463a257d6 | |||
| ad8df64b13 | |||
| d828b83e0b | |||
| 139629a458 | |||
| e220c2bc24 |
26
.drone.yml
26
.drone.yml
@@ -11,17 +11,37 @@ volumes:
|
||||
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: k8s.gcr.io/scl-image-builder/cluster-node-image-builder-amd64:v0.1.11
|
||||
image: bv11-cr01.bessems.eu/library/packer-extended
|
||||
pull: always
|
||||
commands:
|
||||
- |
|
||||
ls -lash
|
||||
apt-get update
|
||||
- |
|
||||
make build-node-ova-vsphere-ubuntu-2204
|
||||
apt-get install -y \
|
||||
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:
|
||||
VSPHERE_PASSWORD:
|
||||
from_secret: vsphere_password
|
||||
IB_OVFTOOL: true
|
||||
IB_OVFTOOL_ARGS: --allowExtraConfig
|
||||
volumes:
|
||||
- name: output
|
||||
path: /output
|
||||
|
||||
6
ansible/roles/custom/tasks/main.yml
Normal file
6
ansible/roles/custom/tasks/main.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
- name: Override cloud-init datasource list
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/cloud/cloud.cfg.d/90_dpkg.cfg
|
||||
content: |
|
||||
# To update this file, run dpkg-reconfigure cloud-init
|
||||
datasource_list: [ VMware, None ]
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user