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
parent
commit
96aadc3614
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
32 changed files with 1 additions and 32 deletions
  1. 2
      tests/cloud_playbooks/roles/packet-ci/defaults/main.yml
  2. 1
      tests/files/packet_almalinux8-calico.yml
  3. 1
      tests/files/packet_almalinux9-calico-nodelocaldns-secondary.yml
  4. 1
      tests/files/packet_almalinux9-calico.yml
  5. 1
      tests/files/packet_almalinux9-crio.yml
  6. 1
      tests/files/packet_almalinux9-docker.yml
  7. 1
      tests/files/packet_almalinux9-kube-ovn.yml
  8. 1
      tests/files/packet_debian11-calico-collection.yml
  9. 1
      tests/files/packet_debian11-calico-upgrade-once.yml
  10. 1
      tests/files/packet_debian11-calico-upgrade.yml
  11. 1
      tests/files/packet_debian11-custom-cni.yml
  12. 1
      tests/files/packet_debian11-docker.yml
  13. 1
      tests/files/packet_debian11-kubelet-csr-approver.yml
  14. 1
      tests/files/packet_debian11-macvlan.yml
  15. 1
      tests/files/packet_debian12-calico.yml
  16. 1
      tests/files/packet_debian12-cilium.yml
  17. 1
      tests/files/packet_debian12-custom-cni-helm.yml
  18. 1
      tests/files/packet_debian12-docker.yml
  19. 1
      tests/files/packet_fedora39-calico-selinux.yml
  20. 1
      tests/files/packet_fedora39-calico-swap-selinux.yml
  21. 1
      tests/files/packet_fedora39-crio.yml
  22. 1
      tests/files/packet_fedora40-docker-calico.yml
  23. 1
      tests/files/packet_openeuler24-calico.yml
  24. 1
      tests/files/packet_opensuse-docker-cilium.yml
  25. 1
      tests/files/packet_rockylinux8-calico.yml
  26. 1
      tests/files/packet_rockylinux9-calico.yml
  27. 1
      tests/files/packet_rockylinux9-cilium.yml
  28. 1
      tests/files/packet_ubuntu20-calico-etcd-kubeadm.yml
  29. 1
      tests/files/packet_ubuntu20-crio.yml
  30. 1
      tests/files/vagrant_fedora39-kube-router.yml
  31. 1
      tests/files/vagrant_ubuntu24-calico-dual-stack.yml
  32. 1
      tests/files/vagrant_ubuntu24-calico-ipv6only-stack.yml

2
tests/cloud_playbooks/roles/packet-ci/defaults/main.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
tests/files/packet_almalinux8-calico.yml

@ -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
tests/files/packet_almalinux9-calico-nodelocaldns-secondary.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: almalinux-9
mode: default
vm_memory: 3072
# Kubespray settings

1
tests/files/packet_almalinux9-calico.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: almalinux-9
mode: default
vm_memory: 3072
# Kubespray settings

1
tests/files/packet_almalinux9-crio.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: almalinux-9
mode: default
# Kubespray settings
container_manager: crio

1
tests/files/packet_almalinux9-docker.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: almalinux-9
mode: default
vm_memory: 3072
# Use docker

1
tests/files/packet_almalinux9-kube-ovn.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: almalinux-9
mode: default
vm_memory: 3072
# Kubespray settings

1
tests/files/packet_debian11-calico-collection.yml

@ -1,4 +1,3 @@
---
# Instance settings
cloud_image: debian-11
mode: default

1
tests/files/packet_debian11-calico-upgrade-once.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: debian-11
mode: default
# Kubespray settings
download_run_once: true

1
tests/files/packet_debian11-calico-upgrade.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: debian-11
mode: default
# Pin disabling ipip mode to ensure proper upgrade
ipip: false

1
tests/files/packet_debian11-custom-cni.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: debian-11
mode: default
# Kubespray settings
kube_owner: root

1
tests/files/packet_debian11-docker.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: debian-11
mode: default
# Use docker
container_manager: docker

1
tests/files/packet_debian11-kubelet-csr-approver.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: debian-11
mode: default
# Kubespray settings
kubelet_rotate_server_certificates: true

1
tests/files/packet_debian11-macvlan.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: debian-11
mode: default
# Kubespray settings
kube_network_plugin: macvlan

1
tests/files/packet_debian12-calico.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: debian-12
mode: default
# Kubespray settings

1
tests/files/packet_debian12-cilium.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: debian-12
mode: default
# Kubespray settings
kube_network_plugin: cilium

1
tests/files/packet_debian12-custom-cni-helm.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: debian-12
mode: default
# Kubespray settings
kube_owner: root

1
tests/files/packet_debian12-docker.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: debian-12
mode: default
# Use docker
container_manager: docker

1
tests/files/packet_fedora39-calico-selinux.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: fedora-39
mode: default
# Kubespray settings
auto_renew_certificates: true

1
tests/files/packet_fedora39-calico-swap-selinux.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: fedora-39
mode: default
# Kubespray settings
auto_renew_certificates: true

1
tests/files/packet_fedora39-crio.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: fedora-39
mode: default
# Kubespray settings
container_manager: crio

1
tests/files/packet_fedora40-docker-calico.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: fedora-40
mode: default
# Kubespray settings
auto_renew_certificates: true

1
tests/files/packet_openeuler24-calico.yml

@ -1,5 +1,4 @@
---
# Instance settings
cloud_image: openeuler-2403
mode: default
vm_memory: 3072

1
tests/files/packet_opensuse-docker-cilium.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: opensuse-leap-15
mode: default
# Kubespray settings
kube_network_plugin: cilium

1
tests/files/packet_rockylinux8-calico.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: rockylinux-8
mode: default
vm_memory: 3072
# Kubespray settings

1
tests/files/packet_rockylinux9-calico.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: rockylinux-9
mode: default
vm_memory: 3072
# Kubespray settings

1
tests/files/packet_rockylinux9-cilium.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: rockylinux-9
mode: default
vm_memory: 3072
# Kubespray settings

1
tests/files/packet_ubuntu20-calico-etcd-kubeadm.yml

@ -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
tests/files/packet_ubuntu20-crio.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: ubuntu-2004
mode: default
# Kubespray settings
container_manager: crio

1
tests/files/vagrant_fedora39-kube-router.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: fedora-39
mode: default
# Kubespray settings
kube_network_plugin: kube-router

1
tests/files/vagrant_ubuntu24-calico-dual-stack.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: ubuntu-2404
mode: default
# Kubespray settings
ipv4_stack: true

1
tests/files/vagrant_ubuntu24-calico-ipv6only-stack.yml

@ -1,7 +1,6 @@
---
# Instance settings
cloud_image: ubuntu-2404
mode: default
# Kubespray settings
ipv4_stack: false

Loading…
Cancel
Save