22 Commits

Author SHA1 Message Date
95c2f7a54e feat:Upgrade K8s patch version
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-01 15:04:03 +02:00
f6b0c7556d Add cloud-init VMware datasource
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-19 14:35:34 +02:00
ab4826d135 Fix image source/checksum
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-19 11:08:18 +02:00
0cdb7fb129 Replay upstream changes
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-05-19 11:05:16 +02:00
c05b9bf0f5 Switch make target
Some checks reported errors
continuous-integration/drone/push Build was killed
2023-03-03 14:10:34 +01:00
652a5d25c9 Fix pause image tag
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-03 13:03:21 +01:00
8b30841fc4 Override cloud-init datasource list;Add package open-iscsi
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-03 09:59:03 +01:00
af4c3a1b08 Fix var reference; Revert file move
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-02 12:14:12 +01:00
51f36b921d Copy cloud-init files
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-03-02 12:06:54 +01:00
5d279e0e86 Downgrade OS
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-03-02 11:45:22 +01:00
567749e74d Unlock builder account;Revert debug user
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-02 11:42:39 +01:00
3b644541dd Add additional package;Force ovftool
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-02 09:45:02 +01:00
d29e73a424 Move debug user creation
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-25 13:28:14 +01:00
ad38b34ce4 Copy subfolders
Some checks reported errors
continuous-integration/drone/push Build was killed
2023-02-25 12:52:37 +01:00
0a2cc82e2d Fix non-empty folder move
Some checks failed
continuous-integration/drone/push Build is failing
2023-02-25 11:25:32 +01:00
e27b3f1f6f Revert output directory;Add sleep for debugging
Some checks failed
continuous-integration/drone/push Build is failing
2023-02-25 10:48:18 +01:00
963930e04d Fix var reference
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2023-02-24 21:35:14 +01:00
8463a257d6 Output directly to volume
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-24 17:23:44 +01:00
ad8df64b13 Fix fileglob
Some checks failed
continuous-integration/drone/push Build is failing
2023-02-24 10:58:11 +01:00
d828b83e0b Debug working directory;Fix path
Some checks failed
continuous-integration/drone/push Build is failing
2023-02-24 10:32:16 +01:00
139629a458 Move artifact to output volume;Add debug user
Some checks failed
continuous-integration/drone/push Build is failing
2023-02-24 09:39:50 +01:00
e220c2bc24 Destroy VM after build;Debug output
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-23 22:22:23 +01:00
433 changed files with 138 additions and 35 deletions

View File

@@ -6,22 +6,33 @@ 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: 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
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-2204
- |
mv -fv ./output/**/*.ova /output
environment:
VSPHERE_PASSWORD:
from_secret: vsphere_password
IB_OVFTOOL: true
IB_OVFTOOL_ARGS: --allowExtraConfig
volumes:
- name: output
path: /output

View File

@@ -93,7 +93,7 @@ deps-gce:
deps-ova: ## Installs/checks dependencies for OVA builds
deps-ova:
hack/ensure-ansible.sh
hack/ensure-ansible-windows.sh
: hack/ensure-ansible-windows.sh
hack/ensure-packer.sh
hack/ensure-goss.sh
hack/ensure-ovftool.sh

View File

@@ -43,3 +43,11 @@
- { src: files/etc/networkd-dispatcher/routable.d/20-chrony.j2, dest: /etc/networkd-dispatcher/routable.d/20-chrony }
- { src: files/etc/networkd-dispatcher/off.d/20-chrony.j2, dest: /etc/networkd-dispatcher/off.d/20-chrony }
- { src: files/etc/networkd-dispatcher/no-carrier.d/20-chrony.j2, dest: /etc/networkd-dispatcher/no-carrier.d/20-chrony }
- name: Create cloud-init datasource config file
copy:
dest: /etc/cloud/ds-identify.cfg
force: true
content: |
datasource: VMware
when: ansible_distribution_version is version('22.04', '>=')

Some files were not shown because too many files have changed in this diff Show More