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:
Pierre Riteau
2025年10月30日 08:58:29 +01:00
parent d70e924d45
commit d2f36dcdbd

View File

@@ -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
openstack/diskimage-builder
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.