From c45a742e6fbfd3392511b315edde17ab42a9760d Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Tue, 31 Jan 2023 16:49:53 +0100 Subject: CI: store only templated out Dockerfiles in work_dir Change-Id: I0832d7997536f5f0dc195d5038545b6cc220f0fa --- tests/playbooks/run.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/playbooks/run.yml b/tests/playbooks/run.yml index 13576aa3c..7e0b48695 100644 --- a/tests/playbooks/run.yml +++ b/tests/playbooks/run.yml @@ -8,7 +8,6 @@ DEFAULT: debug: true logs_dir: "{{ kolla_build_logs_dir }}" - work_dir: "{{ kolla_logs_dir }}/work_dir" quiet: true base: "{{ base_distro }}" template_override: /etc/kolla/template_overrides.j2 @@ -42,5 +41,8 @@ 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" -- cgit v1.2.3