From 20cdc32537275ce4845eae62ce9a837868a0f800 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Mon, 17 Jun 2024 21:48:27 +0200 Subject: CI: Move image building to a role This role can be then used in kolla-ansible instead of setup_gate.sh Change-Id: Ibf04bd90a15e7d3949214d15a8b8e25f2050bb65 --- tests/playbooks/run.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'tests') diff --git a/tests/playbooks/run.yml b/tests/playbooks/run.yml index c9f5fa1a0..19c9c8ca9 100644 --- a/tests/playbooks/run.yml +++ b/tests/playbooks/run.yml @@ -38,13 +38,5 @@ - import_role: name: kolla-build-config - - name: Template template_overrides.j2 - template: - src: "{{ zuul.executor.work_root }}/{{ zuul.project.src_dir }}/tests/templates/template_overrides.j2" - dest: /etc/kolla/template_overrides.j2 - - - name: Run kolla-build to template out dockerfiles - command: "{{ virtualenv_path }}/bin/kolla-build --template-only --work-dir {{ kolla_build_logs_dir }}/work_dir" - - - name: Run kolla-build - command: "{{ virtualenv_path }}/bin/kolla-build" + - import_role: + name: kolla-build -- cgit v1.2.3