From e5943c10085d82dd22207f60b2d6c74102d67d11 Mon Sep 17 00:00:00 2001 From: Thomas Oulevey Date: Mar 15 2017 08:34:48 +0000 Subject: change kojihub url from localhost -> cbs.centos.org --- 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')