mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-12-22 07:26:59 +01:00
move packager and vendor to kojid.conf
This commit is contained in:
parent
05580f8a62
commit
6f85299a71
@ -58,9 +58,6 @@ if [[ -n "$SRC_RPM_DIR" && -n "$BIN_RPM_DIR" ]]; then
|
||||
|
||||
rm -rf "$STAGING_RPM_DIR" "$HOME/.koji"
|
||||
fi
|
||||
# Generic settings for smeserver
|
||||
PACKAGER="Koozali.org <http://www.koozali.org>"
|
||||
VENDOR="Koozali.org <http://www.koozali.org>"
|
||||
# Setup sme10 for building - based on centos 7 (el7)
|
||||
# sme10-os is the parent - all other sme10 repos will inherit most of this...
|
||||
RELEASE=10
|
||||
@ -77,8 +74,6 @@ sudo -u kojiadmin koji add-target dist-"$TAG" dist-"$TAG"-build
|
||||
sudo -u kojiadmin koji edit-tag -x mock.bootstrap_image="$BOOTSTRAPIMAGE" dist-"$TAG"
|
||||
sudo -u kojiadmin koji edit-tag -x mock.chroot_setup_cmd="$CHROOTSETUPCMD" dist-"$TAG"
|
||||
sudo -u kojiadmin koji edit-tag -x rpm.macro.distribution="$DISTRIBUTION" dist-"$TAG"
|
||||
sudo -u kojiadmin koji edit-tag -x rpm.macro.packager="$PKGMANAGER" dist-"$TAG"
|
||||
sudo -u kojiadmin koji edit-tag -x rpm.macro.vendor="$VENDOR" dist-"$TAG"
|
||||
sudo -u kojiadmin koji edit-tag -x rpm.macro.dist="$DIST" dist-"$TAG"
|
||||
sudo -u kojiadmin koji add-group dist-"$TAG"-build build
|
||||
sudo -u kojiadmin koji add-group dist-"$TAG"-build srpm-build
|
||||
@ -149,8 +144,6 @@ for RELEASE in 11 12 ; do
|
||||
sudo -u kojiadmin koji edit-tag -x mock.bootstrap_image="$BOOTSTRAPIMAGE" dist-"$TAG"
|
||||
sudo -u kojiadmin koji edit-tag -x mock.chroot_setup_cmd="$CHROOTSETUPCMD" dist-"$TAG"
|
||||
sudo -u kojiadmin koji edit-tag -x rpm.macro.distribution="$DISTRIBUTION" dist-"$TAG"
|
||||
sudo -u kojiadmin koji edit-tag -x rpm.macro.packager="$PKGMANAGER" dist-"$TAG"
|
||||
sudo -u kojiadmin koji edit-tag -x rpm.macro.vendor="$VENDOR" dist-"$TAG"
|
||||
sudo -u kojiadmin koji edit-tag -x rpm.macro.dist="$DIST" dist-"$TAG"
|
||||
sudo -u kojiadmin koji add-group-pkg dist-"$TAG"-build build epel-rpm-macros bash bzip2 coreutils cpio diffutils findutils gawk gcc gcc-c++ grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which yum-utils xz
|
||||
sudo -u kojiadmin koji add-group-pkg dist-"$TAG"-build srpm-build coreutils cpio curl-bin elfutils file git glibc-utils grep gzip make pigz plzip rpm rpm-build sed shadow tar unzip wget xz
|
||||
|
@ -69,6 +69,8 @@ allowed_scms=$KOJI_ALLOWED_SCMS
|
||||
cert = $KOJI_PKI_DIR/$KOJI_BUILD_FQDN.pem
|
||||
serverca = $KOJI_PKI_DIR/koji_ca_cert.crt
|
||||
mock_bootstrap_image=False
|
||||
packager="Koozali.org <http://www.koozali.org>"
|
||||
vendor="Koozali.org <http://www.koozali.org>"
|
||||
EOF
|
||||
|
||||
if env | grep -q proxy; then
|
||||
|
Loading…
Reference in New Issue
Block a user