Browse Source

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

pull/12351/head
Max Gautier 3 months ago
committed by GitHub
parent
commit
e0018268d6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
4 changed files with 17 additions and 3 deletions
  1. 2
      .gitlab-ci/kubevirt.yml
  2. 2
      docs/developers/ci.md
  3. 9
      tests/files/fedora40-flannel-crio-collection-scale.yml
  4. 7
      tests/scripts/testcases_run.sh

2
.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:

2
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: |

9
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']

7
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

Loading…
Cancel
Save