mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 16:28:45 -03:30
CI: Add a test for scale.yml (#12285)
This commit is contained in:
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
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user