aboutsummaryrefslogtreecommitdiff
path: root/tests/run.yml
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2025-10-10 17:49:05 +0000
committerGerrit Code Review <review@openstack.org>2025-10-10 17:49:05 +0000
commit7be89bf91e9bcf748bfc2e10dc6d97d73829935c (patch)
treef300eb86fb5877abe9ae2bfb9efaf0e797c5ec25 /tests/run.yml
parent7f824ddfc69d88dec0659b2717eeef966058701d (diff)
parentff5cbf0538ad29eea63c8d27fcd0fd895ccebbba (diff)
downloadkolla-ansible-7be89bf91e9bcf748bfc2e10dc6d97d73829935c.tar.gz
kolla-ansible-7be89bf91e9bcf748bfc2e10dc6d97d73829935c.zip
Merge "CI: Rework test-dashboard.sh to Ansible role"
Diffstat (limited to 'tests/run.yml')
-rw-r--r--tests/run.yml22
1 files changed, 4 insertions, 18 deletions
diff --git a/tests/run.yml b/tests/run.yml
index c0021de33..1108ae6a4 100644
--- a/tests/run.yml
+++ b/tests/run.yml
@@ -397,14 +397,8 @@
# NOTE(yoctozepto): this is nice as the first step after the deployment
# because it waits for the services to stabilize well enough so that
# the dashboard is able to show the login prompt
- - name: Run test-dashboard.sh script
- script:
- cmd: test-dashboard.sh
- executable: /bin/bash
- chdir: "{{ kolla_ansible_src_dir }}"
- environment:
- TLS_ENABLED: "{{ tls_enabled }}"
- LE_ENABLED: "{{ le_enabled }}"
+ - import_role:
+ name: kolla-ansible-test-dashboard
when: dashboard_enabled
- name: Run init-core-openstack.sh script
@@ -740,16 +734,8 @@
KOLLA_ANSIBLE_VENV_PATH: "{{ kolla_ansible_venv_path }}"
SCENARIO: "{{ scenario }}"
- # NOTE(yoctozepto): this is nice as the first step after the upgrade
- # because it waits for the services to stabilize well enough so that
- # the dashboard is able to show the login prompt
- - name: Run test-dashboard.sh script (post upgrade)
- shell:
- cmd: tests/test-dashboard.sh
- executable: /bin/bash
- chdir: "{{ kolla_ansible_src_dir }}"
- environment:
- TLS_ENABLED: "{{ tls_enabled }}"
+ - import_role:
+ name: kolla-ansible-test-dashboard
when: dashboard_enabled
# NOTE(yoctozepto): We need the script module here to avoid