Merge "CI: test base container image build in seed jobs"
This commit is contained in:
commit
7ad589c84a
@ -10,7 +10,9 @@ docker_registry_mirrors:
|
||||
kolla_docker_namespace: "openstack.kolla"
|
||||
# use the published images from a site mirror of quay.io
|
||||
kolla_docker_registry: "{{ zuul_site_mirror_fqdn }}:4447"
|
||||
kolla_source_url: "{{ ansible_env.PWD ~ '/' ~ zuul.projects['opendev.org/openstack/kolla'].src_dir }}"
|
||||
# NOTE(mgoddard): The kolla repository is copied to /tmp/kolla and made
|
||||
# readable by the stack user.
|
||||
kolla_source_url: "/tmp/kolla"
|
||||
kolla_source_version: "{{ zuul.projects['opendev.org/openstack/kolla'].checkout }}"
|
||||
kolla_ansible_source_url: "{{ ansible_env.PWD ~ '/' ~ zuul.projects['opendev.org/openstack/kolla-ansible'].src_dir }}"
|
||||
kolla_ansible_source_version: "{{ zuul.projects['opendev.org/openstack/kolla-ansible'].checkout }}"
|
||||
|
@ -9,3 +9,21 @@
|
||||
shell:
|
||||
cmd: "{{ kayobe_src_dir }}/dev/seed-deploy.sh &> {{ logs_dir }}/ansible/seed-deploy"
|
||||
executable: /bin/bash
|
||||
|
||||
# NOTE(mgoddard): The stack user cannot read the kolla source code, which
|
||||
# lives in the zuul user's home directory. Copy it to a readable location.
|
||||
- name: Create a readable copy of kolla source code
|
||||
become: true
|
||||
copy:
|
||||
src: "{{ ansible_env.PWD ~ '/' ~ zuul.projects['opendev.org/openstack/kolla'].src_dir }}"
|
||||
dest: /tmp
|
||||
owner: stack
|
||||
group: stack
|
||||
remote_src: true
|
||||
|
||||
- name: Ensure base container image is built
|
||||
shell:
|
||||
cmd: >
|
||||
source {{ kayobe_src_dir }}/dev/environment-setup.sh &&
|
||||
kayobe seed container image build ^base &> {{ logs_dir }}/ansible/container-image-build
|
||||
executable: /bin/bash
|
||||
|
Loading…
Reference in New Issue
Block a user