[inactive-gitlab-users] Run trust-groups and trust-2fa before get-inactive



commit 92d6b5783bf957a83eebdd3e0aea9912d49774d2
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Sep 3 19:40:11 2019 +0200

    Run trust-groups and trust-2fa before get-inactive

 inactive-gitlab-users.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/inactive-gitlab-users.sh b/inactive-gitlab-users.sh
index 9053fef..0c9e937 100755
--- a/inactive-gitlab-users.sh
+++ b/inactive-gitlab-users.sh
@@ -1,6 +1,8 @@
 #!/bin/sh
 
-cd /usr/local/sysadmin-bin/gitlab && \
+cd /usr/local/sysadmin-bin/gitlab
+python3 ./inactive-gitlab-users.py trust-groups
+python3 ./inactive-gitlab-users.py trust-2fa
 python3 ./inactive-gitlab-users.py get-inactive -t ${TIMEDELTA_UNIT}:${TIMEDELTA_VALUE} > 
/tmp/inactive-gitlab-users.json
 
 echo "Dumping json on pod's stdout"


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