Revert "CI - remove unnecessary logic when building images for upgrade"
This reverts commit 8ce5ffd0c2
.
Change-Id: I81ce7c007ff267ebbbb721bcdb7eebc0dd575bf8
This commit is contained in:
parent
8ce5ffd0c2
commit
acac12798c
@ -24,6 +24,11 @@ openstack_release: "{{ build_image_tag }}"
|
|||||||
{% else %}
|
{% else %}
|
||||||
# use docker hub images
|
# use docker hub images
|
||||||
docker_namespace: "kolla"
|
docker_namespace: "kolla"
|
||||||
|
{% if need_build_image and is_previous_release %}
|
||||||
|
# NOTE(mgoddard): Ensure that the insecure local registry is trusted, since it
|
||||||
|
# will be the source of images during the upgrade.
|
||||||
|
docker_custom_option: "--insecure-registry {{ api_interface_address }}:4000"
|
||||||
|
{% endif %}
|
||||||
{% if not is_previous_release %}
|
{% if not is_previous_release %}
|
||||||
openstack_release: "{{ zuul.branch | basename }}"
|
openstack_release: "{{ zuul.branch | basename }}"
|
||||||
{% else %}
|
{% else %}
|
||||||
|
Loading…
Reference in New Issue
Block a user