summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2023-01-31 16:49:53 +0100
committerMichal Nasiadka <mnasiadka@gmail.com>2023-02-08 12:35:10 +0000
commitfa95f9686588c1b4624fd30c923787a555e304b3 (patch)
tree134db309ea3327a90c54945aa24c9fff8abccc6d
parentfc8a908c0011ad0c1020149a6e76e9cbef269e43 (diff)
downloadkolla-fa95f9686588c1b4624fd30c923787a555e304b3.tar.gz
kolla-fa95f9686588c1b4624fd30c923787a555e304b3.zip
CI: store only templated out Dockerfiles in work_dir15.1.0
Change-Id: I0832d7997536f5f0dc195d5038545b6cc220f0fa (cherry picked from commit c45a742e6fbfd3392511b315edde17ab42a9760d)
-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"