aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/playbooks/run.yml4
1 files changed, 3 insertions, 1 deletions
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"