From 10e719f9d8b4b8d8efbc00e9a69ae6984b4a0a10 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Tue, 7 Oct 2025 19:57:40 +0200 Subject: CI: Rework deploy.sh to an Ansible role Change-Id: Iecb212c38732d38f704f1a7d43036f8bbade496a Signed-off-by: Michal Nasiadka --- tests/run.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'tests/run.yml') 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 -- cgit v1.2.3