Skip to content

Commit

Permalink
CI: Use debian/ubuntu mirrored images on build
Browse files Browse the repository at this point in the history
Change-Id: I044affa85290caf9d71e8ba5bc7cf0f5be8941e7
  • Loading branch information
mnasiadka committed Nov 29, 2024
1 parent 0995151 commit f661f6f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/setup_gate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,15 @@ function prepare_images {
sudo tee -a /etc/kolla/kolla-build.conf <<EOF
[DEFAULT]
engine = ${CONTAINER_ENGINE}
EOF

if [[ $BASE_DISTRO == "debian" || $BASE_DISTRO == "ubuntu" ]]; then
sudo tee -a /etc/kolla/kolla-build.conf <<EOF
base_image = quay.io/openstack.kolla/${BASE_DISTRO}
EOF
fi

sudo tee -a /etc/kolla/kolla-build.conf <<EOF
[profiles]
gate = ${GATE_IMAGES}
EOF
Expand Down

0 comments on commit f661f6f

Please sign in to comment.