[sysadmin-bin] Allow KGB notifications from anything under World



commit 9f5073c6c62b9fc8a76130527abadef96e34355e
Author: Andrea Veri <averi redhat com>
Date:   Tue Jun 22 14:04:19 2021 +0200

    Allow KGB notifications from anything under World

 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 b682479..e0aae97 100755
--- a/git/post-receive-notify-kgb
+++ b/git/post-receive-notify-kgb
@@ -6,6 +6,6 @@
 mainline=$(git symbolic-ref --quiet --short HEAD)
 mainline=${mainline:-"master"}
 
-if [[ $NAMESPACE = 'GNOME' || $NAMESPACE = 'Infrastructure' ]]; then
+if [[ $NAMESPACE = 'GNOME' || $NAMESPACE = 'Infrastructure' || $NAMESPACE = 'World' ]]; then
       egrep "refs/heads/($mainline|gtk\-|glib\-|gnome\-)" | kgb-client --conf 
/home/admin/KGB/kgb-client-$REPONAME.conf --repository git --git-reflog - > /dev/null 2>&1
 fi


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