Skip to content

Commit daedc1d

Browse files
committed
CI: store only templated out Dockerfiles in work_dir
Change-Id: I0832d7997536f5f0dc195d5038545b6cc220f0fa (cherry picked from commit c45a742)
1 parent 73e4461 commit daedc1d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/playbooks/run.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
DEFAULT:
99
debug: true
1010
logs_dir: "{{ kolla_build_logs_dir }}"
11-
work_dir: "{{ kolla_logs_dir }}/work_dir"
1211
quiet: true
1312
base: "{{ base_distro }}"
1413
install_type: "{{ install_type }}"
@@ -43,5 +42,8 @@
4342
src: "{{ zuul.executor.work_root }}/{{ zuul.project.src_dir }}/tests/templates/template_overrides.j2"
4443
dest: /etc/kolla/template_overrides.j2
4544

45+
- name: Run kolla-build to template out dockerfiles
46+
command: "{{ virtualenv_path }}/bin/kolla-build --template-only --work-dir {{ kolla_build_logs_dir }}/work_dir"
47+
4648
- name: Run kolla-build
4749
command: "{{ virtualenv_path }}/bin/kolla-build"

0 commit comments

Comments
 (0)