aboutsummaryrefslogtreecommitdiff
path: root/tests/run.yml
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2025-10-08 17:12:35 +0200
committerMichal Nasiadka <mnasiadka@gmail.com>2025-10-10 13:52:36 +0000
commitff5cbf0538ad29eea63c8d27fcd0fd895ccebbba (patch)
treec4b93c3fbb7b6eb49374e18baa589999de943e80 /tests/run.yml
parent45e7b9ec4435d334c5757a1e5a6352b9f342567e (diff)
downloadkolla-ansible-ff5cbf0538ad29eea63c8d27fcd0fd895ccebbba.tar.gz
kolla-ansible-ff5cbf0538ad29eea63c8d27fcd0fd895ccebbba.zip
CI: Rework test-dashboard.sh to Ansible role
Change-Id: Iaeb6786625c8c0c71c7b4e0ab9450c67bc13ed1c Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
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 9178300be..46aae8cea 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
@@ -739,16 +733,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