CI: store only templated out Dockerfiles in work_dir

Change-Id: I0832d7997536f5f0dc195d5038545b6cc220f0fa
(cherry picked from commit c45a742e6f)
This commit is contained in:
Michal Nasiadka 2023-01-31 16:49:53 +01:00
parent 73e4461bd2
commit daedc1d1f4
1 changed files with 3 additions and 1 deletions

View File

@ -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 }}"
install_type: "{{ install_type }}"
@ -43,5 +42,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"