diff --git a/scripts/create_sig.sh b/scripts/create_sig.sh index b19d02d..9744e35 100755 --- a/scripts/create_sig.sh +++ b/scripts/create_sig.sh @@ -142,6 +142,8 @@ do [ $? -eq 0 ] && echo "Creating user : ${SIG}" && $KOJI grant-permission --new build-${SIG} $SIG SIGNAME="${SIG}" SIG="${SIG}${DIST}" + # Check for SIG-common and create it if not present. + # $KOJI list-tags | grep $SIG-common-candidate &> /dev/null for PROJECT in $PROJECTS do P_SIG="${SIG}-${PROJECT}" diff --git a/scripts/fas_perms_to_koji.py b/scripts/fas_perms_to_koji.py index c126be6..e4cdf75 100755 --- a/scripts/fas_perms_to_koji.py +++ b/scripts/fas_perms_to_koji.py @@ -33,7 +33,7 @@ import os.path import sys from collections import defaultdict -KOJI_URL = 'http://localhost/kojihub' +KOJI_URL = 'http://cbs.centos.org/kojihub' CLIENT_CERT = os.path.expanduser('/etc/pki/koji/koji-admin.pem') CLIENTCA_CERT = os.path.expanduser('/etc/pki/koji/koji_ca_cert.crt') SERVERCA_CERT = os.path.expanduser('/etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt')