From 6ab144aae405db6d3ab672c58b7675b49b86d009 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Thu, 14 Nov 2019 11:37:22 +0100 Subject: [PATCH] CI/Debian: Push images after building This fixes Debian job failures during image building. See https://github.com/docker/for-linux/issues/711 for upstream details. Change-Id: Icf3ffb261605ffe5d8f2618c2ed4cb97db97dd49 --- tools/setup_gate.sh | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/tools/setup_gate.sh b/tools/setup_gate.sh index 9e5a8a1dde..2a90c3225c 100755 --- a/tools/setup_gate.sh +++ b/tools/setup_gate.sh @@ -58,6 +58,12 @@ function setup_config { GATE_IMAGES="cron,haproxy,keepalived,kolla-toolbox,mariadb" fi + # NOTE(yoctozepto): we cannot build and push at the same time on debian + # buster see https://github.com/docker/for-linux/issues/711. + PUSH="true" + if [[ "debian" == $BASE_DISTRO ]]; then + PUSH="false" + fi cat <