aboutsummaryrefslogtreecommitdiff
path: root/tests/run.yml
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2025-10-10 11:46:33 +0000
committerGerrit Code Review <review@openstack.org>2025-10-10 11:46:33 +0000
commit8c9bd4bb30d35d8173efdf20e2f7d1ee8d76acbc (patch)
treecaa3a4cb5365ba0de74c090ebb2f4d1146002904 /tests/run.yml
parent91edb47dd849badf22c5444a5fdd4f6b44142417 (diff)
parent45e7b9ec4435d334c5757a1e5a6352b9f342567e (diff)
downloadkolla-ansible-8c9bd4bb30d35d8173efdf20e2f7d1ee8d76acbc.tar.gz
kolla-ansible-8c9bd4bb30d35d8173efdf20e2f7d1ee8d76acbc.zip
Merge "CI: Rework test/deploy/upgrade-bifrost.sh into Ansible roles"
Diffstat (limited to 'tests/run.yml')
-rw-r--r--tests/run.yml32
1 files changed, 9 insertions, 23 deletions
diff --git a/tests/run.yml b/tests/run.yml
index cf34cde86..c0021de33 100644
--- a/tests/run.yml
+++ b/tests/run.yml
@@ -781,31 +781,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