mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-11-22 01:27:29 +01:00
fix smecontribs bootstrap
This commit is contained in:
parent
4e027857c1
commit
0d0d685a04
@ -92,14 +92,25 @@ sudo -u kojiadmin koji add-external-repo -t dist-"$TAG"-build buildsys-core http
|
|||||||
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 --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 sme10 repos
|
# setup the rest of the sme10 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
|
|
||||||
# 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"
|
||||||
|
Loading…
Reference in New Issue
Block a user