CI: Pin docker to <7 in setup_gate.sh
Change-Id: I46c05a54171cbf43a51594998561db94af7d17e6
This commit is contained in:
parent
7a29abb590
commit
70ebf95c2b
@ -123,10 +123,14 @@ EOF
|
|||||||
|
|
||||||
sudo $CONTAINER_ENGINE 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
|
sudo $CONTAINER_ENGINE 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
|
|
||||||
|
|
||||||
pip install "${KOLLA_SRC_DIR}" ${CONTAINER_ENGINE} rich
|
python3 -m venv ~/kolla-venv
|
||||||
|
source ~/kolla-venv/bin/activate
|
||||||
|
if [[ "$CONTAINER_ENGINE" == "docker" ]]; then
|
||||||
|
pip install "${KOLLA_SRC_DIR}" "docker<7"
|
||||||
|
else
|
||||||
|
pip install "${KOLLA_SRC_DIR}" "podman"
|
||||||
|
fi
|
||||||
|
|
||||||
sudo ~/kolla-venv/bin/kolla-build
|
sudo ~/kolla-venv/bin/kolla-build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user