CI: Add a test for scale.yml (#12285)

This commit is contained in:
Max Gautier
2025-06-28 08:16:29 +00:00
committed by GitHub
parent d4cb5da017
commit e0018268d6
4 changed files with 17 additions and 3 deletions

View File

@@ -40,7 +40,6 @@ pr:
- debian11-macvlan
- debian12-cilium
- fedora39-kube-router
# FIXME: this test if broken (perma-failing)
- openeuler24-calico
- rockylinux9-cilium
- ubuntu22-calico-all-in-one
@@ -53,6 +52,7 @@ pr:
- ubuntu24-kube-router-svc-proxy
- ubuntu24-ha-separate-etcd
- flatcar4081-calico
- fedora40-flannel-crio-collection-scale
# The ubuntu24-calico-all-in-one jobs are meant as early stages to prevent running the full CI if something is horribly broken
ubuntu24-calico-all-in-one:

View File

@@ -28,7 +28,7 @@ amazon | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
debian11 | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
debian12 | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
fedora39 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: |
fedora40 | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
fedora40 | :white_check_mark: | :x: | :x: | :x: | :x: | :x: | :x: |
flatcar4081 | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
openeuler24 | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
rockylinux9 | :x: | :x: | :x: | :x: | :x: | :x: | :x: |

View File

@@ -0,0 +1,9 @@
---
cloud_image: fedora-40
network_plugin: flannel
container_manager: crio
cluster_layout:
- node_groups: ['kube_control_plane', 'etcd']
- node_groups: ['kube_node']
- node_groups: ['kube_node', 'for_scale']

View File

@@ -52,7 +52,12 @@ ansible-playbook \
## START KUBESPRAY
# Create cluster
run_playbook cluster
if [[ "${TESTCASE}" =~ "scale" ]]; then
run_playbook cluster --limit '!for_scale'
run_playbook scale --limit 'for_scale'
else
run_playbook cluster
fi
# Repeat deployment if testing upgrade
if [ "${UPGRADE_TEST}" != "false" ]; then