aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2024-06-17 21:48:27 +0200
committerMichal Nasiadka <mnasiadka@gmail.com>2024-10-02 07:37:29 +0000
commit20cdc32537275ce4845eae62ce9a837868a0f800 (patch)
tree0eae695f6ac6358a8953c121c9b6db3ec8a7132f /tests
parent9b10b7d23579c0d06aa4b75b456f42d4116951f9 (diff)
downloadkolla-20cdc32537275ce4845eae62ce9a837868a0f800.tar.gz
kolla-20cdc32537275ce4845eae62ce9a837868a0f800.zip
CI: Move image building to a role
This role can be then used in kolla-ansible instead of setup_gate.sh Change-Id: Ibf04bd90a15e7d3949214d15a8b8e25f2050bb65
Diffstat (limited to 'tests')
-rw-r--r--tests/playbooks/run.yml12
1 files changed, 2 insertions, 10 deletions
diff --git a/tests/playbooks/run.yml b/tests/playbooks/run.yml
index c9f5fa1a0..19c9c8ca9 100644
--- a/tests/playbooks/run.yml
+++ b/tests/playbooks/run.yml
@@ -38,13 +38,5 @@
- import_role:
name: kolla-build-config
- - name: Template template_overrides.j2
- template:
- 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"
+ - import_role:
+ name: kolla-build