Fix openstack-ci-mirrors element for CentOS Stream
CentOS Stream 9 has actually been mirrored for years [1] and is currently the only release available. Revert the logic so that DIB_DISTRIBUTION_MIRROR and DIB_EPEL_MIRROR are set when using 9-stream. This should make 9-stream builds finally use CI mirrors and also fix any 10-stream image builds using this element (for example in Kayobe CI). [1] https://review.opendev.org/c/opendev/system-config/+/817900 Change-Id: I1bcb6d972d7d7771257ddc1cb3870fbe3e3db65d Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
This commit is contained in:
@@ -32,9 +32,6 @@ elif [[ "${DISTRO_NAME}" == "debian" ]]; then
|
||||
export DIB_DEBOOTSTRAP_EXTRA_ARGS+=" --no-check-gpg"
|
||||
elif [[ "${DISTRO_NAME}" == "centos" ]]; then
|
||||
if [[ "${DIB_RELEASE}" == '9-stream' ]]; then
|
||||
# NOTE(ianw) 2021-10-18 : no 9-stream mirrors, yet
|
||||
:
|
||||
else
|
||||
export DIB_DISTRIBUTION_MIRROR=$NODEPOOL_CENTOS_MIRROR
|
||||
export DIB_EPEL_MIRROR=$NODEPOOL_EPEL_MIRROR
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user