From e0018268d6d48354cf3a38e4400f979a5fbb05cc Mon Sep 17 00:00:00 2001 From: Max Gautier Date: Sat, 28 Jun 2025 08:16:29 +0000 Subject: [PATCH] CI: Add a test for scale.yml (#12285) --- .gitlab-ci/kubevirt.yml | 2 +- docs/developers/ci.md | 2 +- tests/files/fedora40-flannel-crio-collection-scale.yml | 9 +++++++++ tests/scripts/testcases_run.sh | 7 ++++++- 4 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 tests/files/fedora40-flannel-crio-collection-scale.yml diff --git a/.gitlab-ci/kubevirt.yml b/.gitlab-ci/kubevirt.yml index 554c4eb77..a6ce5ac4d 100644 --- a/.gitlab-ci/kubevirt.yml +++ b/.gitlab-ci/kubevirt.yml @@ -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: diff --git a/docs/developers/ci.md b/docs/developers/ci.md index 4a1b7ce49..29375438d 100644 --- a/docs/developers/ci.md +++ b/docs/developers/ci.md @@ -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: | diff --git a/tests/files/fedora40-flannel-crio-collection-scale.yml b/tests/files/fedora40-flannel-crio-collection-scale.yml new file mode 100644 index 000000000..7d828f6c2 --- /dev/null +++ b/tests/files/fedora40-flannel-crio-collection-scale.yml @@ -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'] diff --git a/tests/scripts/testcases_run.sh b/tests/scripts/testcases_run.sh index 8ecca92c0..0c1480a86 100755 --- a/tests/scripts/testcases_run.sh +++ b/tests/scripts/testcases_run.sh @@ -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