aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2023-02-08 11:53:18 +0000
committerGerrit Code Review <review@openstack.org>2023-02-08 11:53:18 +0000
commit7fe36abb4f671db70c43893f5add915b11ec271b (patch)
tree81086a04a0ef1fa2970e45ac6125d207e11e4d67 /tests
parent421fa62d0cf107244bacf44aacb6a3e1ef8024b6 (diff)
parentc45a742e6fbfd3392511b315edde17ab42a9760d (diff)
downloadkolla-7fe36abb4f671db70c43893f5add915b11ec271b.tar.gz
kolla-7fe36abb4f671db70c43893f5add915b11ec271b.zip
Merge "CI: store only templated out Dockerfiles in work_dir"
Diffstat (limited to 'tests')
-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"