[inactive-gitlab-users] Run delete-from-json



commit b33bd469f5f527f332ba840d6a477872571f7acf
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Sep 3 19:47:46 2019 +0200

    Run delete-from-json

 inactive-gitlab-users.sh | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/inactive-gitlab-users.sh b/inactive-gitlab-users.sh
index cfe4ec1..ae07b34 100755
--- a/inactive-gitlab-users.sh
+++ b/inactive-gitlab-users.sh
@@ -5,6 +5,7 @@ cd /usr/local/sysadmin-bin/gitlab
 python3 ./inactive-gitlab-users.py trust-groups >/dev/null
 python3 ./inactive-gitlab-users.py trust-2fa >/dev/null
 python3 ./inactive-gitlab-users.py get-inactive -t ${TIMEDELTA_UNIT}:${TIMEDELTA_VALUE} > 
/tmp/inactive-gitlab-users.json
+python3 ./inactive-gitlab-users.py delete-from-json /tmp/inactive-gitlab-users.json >/dev/null
 
 echo "Dumping json on pod's stdout"
 cat /tmp/inactive-gitlab-users.json


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