From 452d4e63e0bead3930fd9a8927996f5d71f9391b Mon Sep 17 00:00:00 2001 From: Max Gautier Date: Fri, 7 Nov 2025 15:22:55 +0000 Subject: [PATCH] Fix the (upgrade/remove_node) + collection test cases (#12672) The 'old' playbook and the collection use '-' and '_' as separator, which breaks the logic in scripts/testcases_run.sh. Add aliases using the old schemes to make the test work and avoid breaking anything. Both '-' and '_' variants will be deleted once we switch to supporting collection only. --- remove_node.yml | 3 +++ tests/scripts/testcases_run.sh | 2 +- upgrade_cluster.yml | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 remove_node.yml create mode 100644 upgrade_cluster.yml diff --git a/remove_node.yml b/remove_node.yml new file mode 100644 index 000000000..7a336c615 --- /dev/null +++ b/remove_node.yml @@ -0,0 +1,3 @@ +--- +- name: Remove node + ansible.builtin.import_playbook: playbooks/remove_node.yml diff --git a/tests/scripts/testcases_run.sh b/tests/scripts/testcases_run.sh index 0c1480a86..edca43361 100755 --- a/tests/scripts/testcases_run.sh +++ b/tests/scripts/testcases_run.sh @@ -70,7 +70,7 @@ if [ "${UPGRADE_TEST}" != "false" ]; then run_playbook cluster ;; "graceful") - run_playbook upgrade-cluster + run_playbook upgrade_cluster ;; *) ;; diff --git a/upgrade_cluster.yml b/upgrade_cluster.yml new file mode 100644 index 000000000..01a16bd1f --- /dev/null +++ b/upgrade_cluster.yml @@ -0,0 +1,3 @@ +--- +- name: Upgrade cluster + ansible.builtin.import_playbook: playbooks/upgrade_cluster.yml