add --nowait on repo regens

This commit is contained in:
Trevor Batley 2023-11-05 10:42:31 +11:00
parent ff830aa113
commit c2880bc25e

View File

@ -91,7 +91,7 @@ sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build sclo-rh http://mir
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build buildsys-core http://buildsys.koozali.org/build/10/smeserver-core/\$arch/ sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build buildsys-core http://buildsys.koozali.org/build/10/smeserver-core/\$arch/
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build buildsys-contribs http://buildsys.koozali.org/build/10/smeserver-contribs/\$arch/ sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build buildsys-contribs http://buildsys.koozali.org/build/10/smeserver-contribs/\$arch/
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build groups http://buildsys.koozali.org/build/10/smeserver-groups/\$arch/ sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build groups http://buildsys.koozali.org/build/10/smeserver-groups/\$arch/
sudo -u kojiadmin koji regen-repo dist-"$TAG"-build sudo -u kojiadmin koji regen-repo dist-"$TAG"-build --nowait
# setup the rest of the sme10 repos # setup the rest of the sme10 repos
for REPO in contribs addons updates updates-testing testing ; do for REPO in contribs addons updates updates-testing testing ; do
TAG="sme$RELEASE-$REPO" TAG="sme$RELEASE-$REPO"
@ -99,7 +99,7 @@ for REPO in contribs addons updates updates-testing testing ; do
done done
# Only build for smeos and smecontribs - others are staging # Only build for smeos and smecontribs - others are staging
sudo -u kojiadmin koji add-tag --parent dist-sme$RELEASE-contribs dist-sme$RELEASE-contribs-build sudo -u kojiadmin koji add-tag --parent dist-sme$RELEASE-contribs dist-sme$RELEASE-contribs-build
sudo -u kojiadmin koji regen-repo dist-sme$RELEASE-contribs-build sudo -u kojiadmin koji regen-repo dist-sme$RELEASE-contribs-build --nowait
# Releases sme11 and sme12 are based on Rocky 8 # Releases sme11 and sme12 are based on Rocky 8
PKGMANAGER="dnf" PKGMANAGER="dnf"
BOOTSTRAPIMAGE="rocky:8" BOOTSTRAPIMAGE="rocky:8"
@ -128,7 +128,7 @@ for RELEASE in 11 12 ; do
# mirrorList=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-8&arch=x86_64 # mirrorList=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-8&arch=x86_64
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build openfusion http://repo.openfusion.net/centos$EL-x86_64 sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build openfusion http://repo.openfusion.net/centos$EL-x86_64
sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build rpmfusion http://download1.rpmfusion.org/free/el/updates/$EL/x86_64 sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build rpmfusion http://download1.rpmfusion.org/free/el/updates/$EL/x86_64
sudo -u kojiadmin koji regen-repo dist-"$TAG"-build sudo -u kojiadmin koji regen-repo dist-"$TAG"-build --nowait
# setup the rest of the repos # setup the rest of the repos
for REPO in contribs addons updates updates-testing testing ; do for REPO in contribs addons updates updates-testing testing ; do
TAG="sme$RELEASE-$REPO" TAG="sme$RELEASE-$REPO"
@ -136,5 +136,5 @@ for RELEASE in 11 12 ; do
done done
# Only build for smeos and smecontribs - others are staging # Only build for smeos and smecontribs - others are staging
sudo -u kojiadmin koji add-tag --parent dist-sme$RELEASE-contribs dist-sme$RELEASE-contribs-build sudo -u kojiadmin koji add-tag --parent dist-sme$RELEASE-contribs dist-sme$RELEASE-contribs-build
sudo -u kojiadmin koji regen-repo dist-sme$RELEASE-contribs-build sudo -u kojiadmin koji regen-repo dist-sme$RELEASE-contribs-build --nowait
done done