Unverified Commit bea96cdb authored by Louis Abel's avatar Louis Abel 📺
Browse files

Merge branch 'devel' of...

Merge branch 'devel' of ssh://git.rockylinux.org:22220/release-engineering/public/toolkit into devel
parents 0250ad55 0dc8db31
......@@ -22,11 +22,14 @@ cleanup_repo () {
# plus is actually 'rockyplus'. Others may as well(?)
if [[ "${repo}" =~ ^(plus)$ ]]; then
repo="rocky${repo}"
# nfv is actually 'NFV'
elif [[ "${repo}" =~ ^(nfv)$ ]]; then
repo="${repo^^}"
else
repo="${repo}"
fi
# Everything has an 8 appended to it
repo="${repo}-8"
return 0
}
......@@ -38,17 +41,18 @@ for repo in "${ALL_REPOS[@]}"; do
# Print a nice header
printf "================\n${repo}\n================\n"
for arch in "${ARCHES[@]}" "source"; do
# Source is treated as its own architecture
if [[ "${arch}" == "source" ]]; then
_repo="${repo}-8-source"
else
_repo="${repo}-8"
repo="${repo}-source"
fi
result=$(curl -s "${MIRRORLIST_BASE}?repo=${_repo}&arch=${arch}&time&country=global")
# Get the normal repo/arch combinations
result=$(curl -s "${MIRRORLIST_BASE}?repo=${repo}&arch=${arch}&time&country=global")
print_result
# x86 and a64 have 'debug' types, as well
if [[ "${arch}" =~ ^(x86_|aarch)64$ ]]; then
result=$(curl -s "${MIRRORLIST_BASE}?repo=${_repo}-debug&arch=${arch}&time&country=global")
result=$(curl -s "${MIRRORLIST_BASE}?repo=${repo}-debug&arch=${arch}&time&country=global")
print_result
fi
done
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment