Browse Source
CI: only define `mode` in tests if needeed (#12030)
All tests have a mode actually, so changing the default is no big deal
(and makes more sense to have `default` as the default
pull/11978/merge
Max Gautier
1 month ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
32 changed files with
1 additions and
32 deletions
-
tests/cloud_playbooks/roles/packet-ci/defaults/main.yml
-
tests/files/packet_almalinux8-calico.yml
-
tests/files/packet_almalinux9-calico-nodelocaldns-secondary.yml
-
tests/files/packet_almalinux9-calico.yml
-
tests/files/packet_almalinux9-crio.yml
-
tests/files/packet_almalinux9-docker.yml
-
tests/files/packet_almalinux9-kube-ovn.yml
-
tests/files/packet_debian11-calico-collection.yml
-
tests/files/packet_debian11-calico-upgrade-once.yml
-
tests/files/packet_debian11-calico-upgrade.yml
-
tests/files/packet_debian11-custom-cni.yml
-
tests/files/packet_debian11-docker.yml
-
tests/files/packet_debian11-kubelet-csr-approver.yml
-
tests/files/packet_debian11-macvlan.yml
-
tests/files/packet_debian12-calico.yml
-
tests/files/packet_debian12-cilium.yml
-
tests/files/packet_debian12-custom-cni-helm.yml
-
tests/files/packet_debian12-docker.yml
-
tests/files/packet_fedora39-calico-selinux.yml
-
tests/files/packet_fedora39-calico-swap-selinux.yml
-
tests/files/packet_fedora39-crio.yml
-
tests/files/packet_fedora40-docker-calico.yml
-
tests/files/packet_openeuler24-calico.yml
-
tests/files/packet_opensuse-docker-cilium.yml
-
tests/files/packet_rockylinux8-calico.yml
-
tests/files/packet_rockylinux9-calico.yml
-
tests/files/packet_rockylinux9-cilium.yml
-
tests/files/packet_ubuntu20-calico-etcd-kubeadm.yml
-
tests/files/packet_ubuntu20-crio.yml
-
tests/files/vagrant_fedora39-kube-router.yml
-
tests/files/vagrant_ubuntu24-calico-dual-stack.yml
-
tests/files/vagrant_ubuntu24-calico-ipv6only-stack.yml
|
|
@ -17,7 +17,7 @@ memory_allocation_ratio: 1 |
|
|
|
inventory_path: "/tmp/{{ test_name }}/inventory" |
|
|
|
|
|
|
|
# Deployment mode |
|
|
|
mode: all-in-one |
|
|
|
mode: default |
|
|
|
|
|
|
|
# Cloud init config for each os type |
|
|
|
# distro: fedora -> I2Nsb3VkLWNvbmZpZwpzeXN0ZW1faW5mbzoKICBkaXN0cm86IGZlZG9yYQp1c2VyczoKIC0gbmFtZToga3ViZXNwcmF5CiAgIGdyb3Vwczogd2hlZWwKICAgc3VkbzogJ0FMTD0oQUxMKSBOT1BBU1NXRDpBTEwnCiAgIHNoZWxsOiAvYmluL2Jhc2gKICAgbG9ja19wYXNzd2Q6IEZhbHNlCiAgIGhvbWU6IC9ob21lL2t1YmVzcHJheQogICBzc2hfYXV0aG9yaXplZF9rZXlzOgogICAgIC0gc3NoLXJzYSBBQUFBQjNOemFDMXljMkVBQUFBREFRQUJBQUFCQVFDYW5UaS9lS3gwK3RIWUpBZURocStzRlMyT2JVUDEvSTY5ZjdpVjNVdGtLbFQyMEpmVzFmNkZlWHQvMDRWZjI3V1FxK05xczZ2R0JxRDlRWFNZdWYrdDAvczdFUExqVGVpOW1lMW1wcXIrdVRlK0tEdFRQMzlwZkQzL2VWQ2FlQjcyNkdQMkZrYUQwRnpwbUViNjZPM05xaHhPUTk2R3gvOVhUdXcvSzNsbGo0T1ZENkdyalIzQjdjNFh0RUJzWmNacHBNSi9vSDFtR3lHWGRoMzFtV1FTcUFSTy9QOFU4R3d0MCtIR3BVd2gvaGR5M3QrU1lvVEIyR3dWYjB6b3lWd3RWdmZEUXpzbThmcTNhdjRLdmV6OGtZdU5ESnYwNXg0bHZVWmdSMTVaRFJYc0FuZGhReXFvWGRDTEFlMCtlYUtYcTlCa1d4S0ZiOWhQZTBBVWpqYTU= |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: almalinux-8 |
|
|
|
mode: default |
|
|
|
vm_memory: 3072 |
|
|
|
|
|
|
|
# Workaround for RHEL8: kernel version 4.18 is lower than Kubernetes system verification. |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: almalinux-9 |
|
|
|
mode: default |
|
|
|
vm_memory: 3072 |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: almalinux-9 |
|
|
|
mode: default |
|
|
|
vm_memory: 3072 |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: almalinux-9 |
|
|
|
mode: default |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
container_manager: crio |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: almalinux-9 |
|
|
|
mode: default |
|
|
|
vm_memory: 3072 |
|
|
|
|
|
|
|
# Use docker |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: almalinux-9 |
|
|
|
mode: default |
|
|
|
vm_memory: 3072 |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
|
|
@ -1,4 +1,3 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: debian-11 |
|
|
|
mode: default |
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: debian-11 |
|
|
|
mode: default |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
download_run_once: true |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: debian-11 |
|
|
|
mode: default |
|
|
|
|
|
|
|
# Pin disabling ipip mode to ensure proper upgrade |
|
|
|
ipip: false |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: debian-11 |
|
|
|
mode: default |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
kube_owner: root |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: debian-11 |
|
|
|
mode: default |
|
|
|
|
|
|
|
# Use docker |
|
|
|
container_manager: docker |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: debian-11 |
|
|
|
mode: default |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
kubelet_rotate_server_certificates: true |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: debian-11 |
|
|
|
mode: default |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
kube_network_plugin: macvlan |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: debian-12 |
|
|
|
mode: default |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
|
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: debian-12 |
|
|
|
mode: default |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
kube_network_plugin: cilium |
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: debian-12 |
|
|
|
mode: default |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
kube_owner: root |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: debian-12 |
|
|
|
mode: default |
|
|
|
|
|
|
|
# Use docker |
|
|
|
container_manager: docker |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: fedora-39 |
|
|
|
mode: default |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
auto_renew_certificates: true |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: fedora-39 |
|
|
|
mode: default |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
auto_renew_certificates: true |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: fedora-39 |
|
|
|
mode: default |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
container_manager: crio |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: fedora-40 |
|
|
|
mode: default |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
auto_renew_certificates: true |
|
|
|
|
|
@ -1,5 +1,4 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: openeuler-2403 |
|
|
|
mode: default |
|
|
|
vm_memory: 3072 |
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: opensuse-leap-15 |
|
|
|
mode: default |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
kube_network_plugin: cilium |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: rockylinux-8 |
|
|
|
mode: default |
|
|
|
vm_memory: 3072 |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: rockylinux-9 |
|
|
|
mode: default |
|
|
|
vm_memory: 3072 |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: rockylinux-9 |
|
|
|
mode: default |
|
|
|
vm_memory: 3072 |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: ubuntu-2004 |
|
|
|
mode: default |
|
|
|
|
|
|
|
# use the kubeadm etcd setting to test the upgrade |
|
|
|
etcd_deployment_type: kubeadm |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: ubuntu-2004 |
|
|
|
mode: default |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
container_manager: crio |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: fedora-39 |
|
|
|
mode: default |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
kube_network_plugin: kube-router |
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: ubuntu-2404 |
|
|
|
mode: default |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
ipv4_stack: true |
|
|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
--- |
|
|
|
# Instance settings |
|
|
|
cloud_image: ubuntu-2404 |
|
|
|
mode: default |
|
|
|
|
|
|
|
# Kubespray settings |
|
|
|
ipv4_stack: false |
|
|
|