[sysadmin-bin] Move the gitlab_rw token off from the freeipa file



commit deaa92fb73132564bcc57b5bce09d3d66d54425b
Author: Andrea Veri <averi redhat com>
Date:   Fri Nov 10 14:04:02 2017 +0100

    Move the gitlab_rw token off from the freeipa file

 gitlab/gitlab-operations.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gitlab/gitlab-operations.py b/gitlab/gitlab-operations.py
index 26bbb2c..30bb4fb 100755
--- a/gitlab/gitlab-operations.py
+++ b/gitlab/gitlab-operations.py
@@ -11,9 +11,10 @@ import semi_rdf
 from xml.sax import SAXParseException
 
 execfile('/home/admin/secret/freeipa')
+execfile('/home/admin/secret/gitlab_rw')
 
 glu = gnome_ldap_utils.Gnome_ldap_utils(LDAP_GROUP_BASE, LDAP_HOST, LDAP_USER_BASE, 'cn=Directory Manager', 
ldap_password)
-gl = gitlab.Gitlab('https://gitlab.gnome.org', GITLAB_PRIVATE_TOKEN, api_version=4)
+gl = gitlab.Gitlab('https://gitlab.gnome.org', GITLAB_PRIVATE_RW_TOKEN, api_version=4)
 
 DOAP = "http://usefulinc.com/ns/doap#";
 GNOME = "http://api.gnome.org/doap-extensions#";


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