From fa94cfd281a0f23c1bb5e16747cfc01309b5e645 Mon Sep 17 00:00:00 2001 From: Michal Arbet Date: Wed, 17 Mar 2021 19:43:00 +0000 Subject: [PATCH] [CI] Fix broken docker registry This patch fixes CI broken by the following patches: - https://review.opendev.org/c/openstack/kolla-ansible/+/689870 - https://review.opendev.org/c/openstack/kolla-ansible/+/751795 Co-Authored-By: Vladislav Belogrudov Change-Id: If26a9f9791ce9b7817bcd410ea045d3e3b04b651 --- tests/setup_gate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/setup_gate.sh b/tests/setup_gate.sh index f362adaef5..87bf2d1e15 100755 --- a/tests/setup_gate.sh +++ b/tests/setup_gate.sh @@ -105,7 +105,7 @@ EOF mkdir -p /tmp/logs/build - sudo docker run -d -p 4000:5000 --restart=always -v /opt/kolla_registry/:/var/lib/registry --name registry registry:2 + sudo docker run -d --net=host -e REGISTRY_HTTP_ADDR=0.0.0.0:4000 --restart=always -v /opt/kolla_registry/:/var/lib/registry --name registry registry:2 python3 -m venv ~/kolla-venv . ~/kolla-venv/bin/activate