From 38c93f3beb3d1c0d54a99fb3f0d0562a1b47a474 Mon Sep 17 00:00:00 2001 From: "Chandan Kumar (raukadah)" Date: Wed, 3 Dec 2025 11:37:00 +0530 Subject: [PATCH] [DNM] run update on single compute Signed-off-by: Chandan Kumar (raukadah) --- playbooks/update.yml | 2 +- roles/cifmw_setup/tasks/run_tests.yml | 7 ------- roles/update/defaults/main.yml | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/playbooks/update.yml b/playbooks/update.yml index 46ae9f8c4e..d08d227449 100644 --- a/playbooks/update.yml +++ b/playbooks/update.yml @@ -54,7 +54,7 @@ when: cifmw_ci_gen_kustomize_values_deployment_version is not defined - name: Sync repos for controller to compute - hosts: computes + hosts: compute-1 gather_facts: true tasks: - name: Copy repositories from controller to computes diff --git a/roles/cifmw_setup/tasks/run_tests.yml b/roles/cifmw_setup/tasks/run_tests.yml index 64d002673c..a70691ce43 100644 --- a/roles/cifmw_setup/tasks/run_tests.yml +++ b/roles/cifmw_setup/tasks/run_tests.yml @@ -11,10 +11,3 @@ ansible.builtin.import_role: name: "{{ cifmw_run_test_role | default('tempest') }}" when: cifmw_run_tests | default(false) | bool - -- name: Run post_tests hooks - vars: - step: post_tests - ansible.builtin.import_role: - name: run_hook - when: cifmw_run_tests | default(false) | bool diff --git a/roles/update/defaults/main.yml b/roles/update/defaults/main.yml index 384f47cc07..2287f8932c 100644 --- a/roles/update/defaults/main.yml +++ b/roles/update/defaults/main.yml @@ -48,7 +48,7 @@ cifmw_update_openstack_cmd: >- oc rsh -n {{ cifmw_update_namespace }} openstackclient openstack ## User facing -cifmw_update_reboot_test: false +cifmw_update_reboot_test: true cifmw_update_ansible_ssh_private_key_file: >- "{{ ansible_ssh_private_key_file | default(ansible_user_dir ~ '/.ssh/id_cifw') }}" cifmw_update_wait_retries_reboot: 60