[sysadmin-bin] Allow the GNOMEInfrastructure path on kgb-bot



commit 4b7cdd2a7048e9d7bacb0886cc0ab4acb9fbfccd
Author: Andrea Veri <averi redhat com>
Date:   Fri Dec 15 19:45:38 2017 +0100

    Allow the GNOMEInfrastructure path on kgb-bot

 git/post-receive-notify-kgb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/git/post-receive-notify-kgb b/git/post-receive-notify-kgb
index 51c322c..e51fdcb 100755
--- a/git/post-receive-notify-kgb
+++ b/git/post-receive-notify-kgb
@@ -8,6 +8,6 @@ BASEDIR=$(dirname $ABSDIR)
 REPOSITORY_ID=$(basename "$PWD")
 REPOSITORY_ID=${REPOSITORY_ID%.git}
 
-if [[ $BASEDIR = '/var/opt/gitlab/git-data/repositories/GNOME' || $BASEDIR = '/git' ]]; then
+if [[ $BASEDIR = '/var/opt/gitlab/git-data/repositories/GNOME' || $BASEDIR = 
'/var/opt/gitlab/git-data/repositories/GNOMEInfrastructure' || $BASEDIR = '/git' ]]; then
       grep -v refs/heads/wip | kgb-client --conf /home/admin/KGB/kgb-client-$REPOSITORY_ID.conf --repository 
git --git-reflog - > /dev/null 2>&1
 fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]