From 45e7b9ec4435d334c5757a1e5a6352b9f342567e Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Wed, 8 Oct 2025 17:02:50 +0200 Subject: CI: Rework test/deploy/upgrade-bifrost.sh into Ansible roles Change-Id: I55ea22002ea81085a43dc053f619bb61cd497c69 Signed-off-by: Michal Nasiadka --- tests/run.yml | 32 +++++++++----------------------- 1 file changed, 9 insertions(+), 23 deletions(-) (limited to 'tests/run.yml') diff --git a/tests/run.yml b/tests/run.yml index 0b04afa24..9178300be 100644 --- a/tests/run.yml +++ b/tests/run.yml @@ -780,31 +780,17 @@ when: is_upgrade # Bifrost testing. - - block: - - name: Run deploy-bifrost.sh script - shell: - cmd: tests/deploy-bifrost.sh - executable: /bin/bash - chdir: "{{ kolla_ansible_src_dir }}" - environment: - KOLLA_ANSIBLE_VENV_PATH: "{{ kolla_ansible_venv_path }}" + - name: Bifrost testing + when: scenario == "bifrost" + block: + - import_role: + name: kolla-ansible-deploy-bifrost - - name: Run test-bifrost.sh script - shell: - cmd: tests/test-bifrost.sh - executable: /bin/bash - chdir: "{{ kolla_ansible_src_dir }}" - environment: - CONTAINER_ENGINE: "{{ container_engine }}" + - import_role: + name: kolla-ansible-test-bifrost - - name: Run upgrade-bifrost.sh script - shell: - cmd: tests/upgrade-bifrost.sh - executable: /bin/bash - chdir: "{{ kolla_ansible_src_dir }}" - environment: - KOLLA_ANSIBLE_VENV_PATH: "{{ kolla_ansible_venv_path }}" - when: scenario == "bifrost" + - import_role: + name: kolla-ansible-upgrade-bifrost # NOTE(yoctozepto): each host checks itself - hosts: all -- cgit v1.2.3