From a0bdc3669a4432723e1a2756150c05a28a9affbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Mon, 1 Jul 2019 18:45:30 +0200 Subject: [PATCH] Add note to CI config regarding registry during upgrade MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ifc898015b9b523ef4c50fc969e464f05762f2151 Signed-off-by: Radosław Piliszek --- tests/templates/globals-default.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/templates/globals-default.j2 b/tests/templates/globals-default.j2 index 991d16eccb..7caea7acff 100644 --- a/tests/templates/globals-default.j2 +++ b/tests/templates/globals-default.j2 @@ -27,6 +27,9 @@ 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. +# NOTE(yoctozepto): this is required here for CI because we run templating +# of docker systemd command only once, using the previous release when upgrading +# also note: atm upgrade would conflict with the zun profile which uses this var docker_custom_option: "--insecure-registry {{ api_interface_address }}:4000" {% endif %} {% if not is_previous_release %}