mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 05:45:06 +03:00
CI: Add a test for scale.yml (#12285)
This commit is contained in:
@@ -40,7 +40,6 @@ pr:
|
|||||||
- debian11-macvlan
|
- debian11-macvlan
|
||||||
- debian12-cilium
|
- debian12-cilium
|
||||||
- fedora39-kube-router
|
- fedora39-kube-router
|
||||||
# FIXME: this test if broken (perma-failing)
|
|
||||||
- openeuler24-calico
|
- openeuler24-calico
|
||||||
- rockylinux9-cilium
|
- rockylinux9-cilium
|
||||||
- ubuntu22-calico-all-in-one
|
- ubuntu22-calico-all-in-one
|
||||||
@@ -53,6 +52,7 @@ pr:
|
|||||||
- ubuntu24-kube-router-svc-proxy
|
- ubuntu24-kube-router-svc-proxy
|
||||||
- ubuntu24-ha-separate-etcd
|
- ubuntu24-ha-separate-etcd
|
||||||
- flatcar4081-calico
|
- 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
|
# 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:
|
ubuntu24-calico-all-in-one:
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ amazon | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
|
|||||||
debian11 | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
|
debian11 | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
|
||||||
debian12 | :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: |
|
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: |
|
flatcar4081 | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
|
||||||
openeuler24 | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
|
openeuler24 | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
|
||||||
rockylinux9 | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
|
rockylinux9 | :x: | :x: | :x: | :x: | :x: | :x: | :x: |
|
||||||
|
|||||||
9
tests/files/fedora40-flannel-crio-collection-scale.yml
Normal file
9
tests/files/fedora40-flannel-crio-collection-scale.yml
Normal 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']
|
||||||
@@ -52,7 +52,12 @@ ansible-playbook \
|
|||||||
## START KUBESPRAY
|
## START KUBESPRAY
|
||||||
|
|
||||||
# Create cluster
|
# 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
|
# Repeat deployment if testing upgrade
|
||||||
if [ "${UPGRADE_TEST}" != "false" ]; then
|
if [ "${UPGRADE_TEST}" != "false" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user