Compare commits
1 Commits
tst-findin
...
a32a6c9c0c
| Author | SHA1 | Date | |
|---|---|---|---|
| a32a6c9c0c |
21
.drone.yml
21
.drone.yml
@@ -6,33 +6,22 @@ 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
|
||||
image: k8s.gcr.io/scl-image-builder/cluster-node-image-builder-amd64:v0.1.11
|
||||
pull: always
|
||||
commands:
|
||||
- |
|
||||
jq '.password="'"$VSPHERE_PASSWORD"'"' ./packer/ova/vsphere.json > /tmp/vsphere.json && \
|
||||
mv /tmp/vsphere.json ./packer/ova/vsphere.json
|
||||
- |
|
||||
make deps-ova
|
||||
ls -lash
|
||||
- |
|
||||
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
|
||||
|
||||
@@ -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
|
||||
@@ -1,11 +1,11 @@
|
||||
apiVersion: kubeadm.k8s.io/v1beta3
|
||||
apiVersion: kubeadm.k8s.io/v1beta2
|
||||
kind: ClusterConfiguration
|
||||
imageRepository: {{ kubernetes_container_registry }}
|
||||
kubernetesVersion: {{ kubernetes_semver }}
|
||||
dns:
|
||||
imageRepository: {{ kubernetes_container_registry }}/coredns
|
||||
---
|
||||
apiVersion: kubeadm.k8s.io/v1beta3
|
||||
apiVersion: kubeadm.k8s.io/v1beta2
|
||||
kind: InitConfiguration
|
||||
nodeRegistration:
|
||||
criSocket: {{ containerd_cri_socket }}
|
||||
@@ -43,11 +43,3 @@
|
||||
- { 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
Reference in New Issue
Block a user