contribs for sme11 & sme12

This commit is contained in:
Trevor Batley 2023-11-06 14:00:15 +11:00
parent 0d0d685a04
commit 892f8f3b8a

View File

@ -140,12 +140,22 @@ for RELEASE in 11 12 ; do
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 --nowait sudo -u kojiadmin koji regen-repo dist-"$TAG"-build --nowait
# Only build for smeos and smecontribs - others are staging
TAG="sme$RELEASE-contribs"
sudo -u kojiadmin koji add-tag --parent dist-sme$RELEASE-os dist-"$TAG"
sudo -u kojiadmin koji add-tag --parent dist-$TAG --arches="$RPM_ARCH" dist-$TAG-build
sudo -u kojiadmin koji add-target dist-"$TAG" dist-"$TAG"-build
sudo -u kojiadmin koji add-tag-inheritance dist-$TAG-build dist-sme$RELEASE-os --priority 10
sudo -u kojiadmin koji edit-tag dist-"$TAG" -x mock.bootstrap_image="$BOOTSTRAPIMAGE"
sudo -u kojiadmin koji edit-tag dist-"$TAG" -x mock.chroot_setup_cmd="$CHROOTSETUPCMD"
sudo -u kojiadmin koji add-group dist-"$TAG"-build build
sudo -u kojiadmin koji add-group dist-"$TAG"-build srpm-build
sudo -u kojiadmin koji add-group-pkg dist-"$TAG"-build build install @buildsys-build @buildsys scl-utils-build python27-build rpm-build
sudo -u kojiadmin koji add-group-pkg dist-"$TAG"-build srpm-build rpm-build coreutils cpio curl-bin elfutils file git glibc-utils grep gzip make pigz plzip rpm sed shadow tar unzip wget xz
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 addons updates updates-testing testing ; do
TAG="sme$RELEASE-$REPO" TAG="sme$RELEASE-$REPO"
sudo -u kojiadmin koji add-tag --parent dist-sme$RELEASE-os dist-"$TAG" sudo -u kojiadmin koji add-tag --parent dist-sme$RELEASE-os dist-"$TAG"
done done
# 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 regen-repo dist-sme$RELEASE-contribs-build --nowait
done done