aboutsummaryrefslogtreecommitdiff
path: root/tests/run.yml
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2025-10-07 19:57:40 +0200
committerMichal Nasiadka <mnasiadka@gmail.com>2025-10-09 13:05:44 +0000
commit10e719f9d8b4b8d8efbc00e9a69ae6984b4a0a10 (patch)
tree90d8bdb13cc41d8458f5a1b05e88970039a7b487 /tests/run.yml
parentb2f348c4f6a6740c9faafc68b8e2a6fa9d3987ca (diff)
downloadkolla-ansible-10e719f9d8b4b8d8efbc00e9a69ae6984b4a0a10.tar.gz
kolla-ansible-10e719f9d8b4b8d8efbc00e9a69ae6984b4a0a10.zip
CI: Rework deploy.sh to an Ansible role
Change-Id: Iecb212c38732d38f704f1a7d43036f8bbade496a Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
Diffstat (limited to 'tests/run.yml')
-rw-r--r--tests/run.yml12
1 files changed, 2 insertions, 10 deletions
diff --git a/tests/run.yml b/tests/run.yml
index eca77e215..0b04afa24 100644
--- a/tests/run.yml
+++ b/tests/run.yml
@@ -391,16 +391,8 @@
# Deploy control plane. For upgrade jobs this is the previous release.
- block:
- - name: Run deploy.sh script
- script:
- cmd: deploy.sh
- executable: /bin/bash
- chdir: "{{ kolla_ansible_src_dir }}"
- environment:
- TLS_ENABLED: "{{ tls_enabled }}"
- LE_ENABLED: "{{ le_enabled }}"
- KOLLA_ANSIBLE_VENV_PATH: "{{ kolla_ansible_venv_path }}"
- HAS_UPGRADE: "{{ is_upgrade | bool | ternary('yes', 'no') }}"
+ - import_role:
+ name: kolla-ansible-deploy
# NOTE(yoctozepto): this is nice as the first step after the deployment
# because it waits for the services to stabilize well enough so that