[sysadmin-bin] Read the secret, turn exec bit on
- From: Andrea Veri <averi src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Read the secret, turn exec bit on
- Date: Tue, 18 May 2021 13:09:17 +0000 (UTC)
commit 38b1e30fb14f5e376e2bb8fe8e8796066ca3e6c6
Author: Andrea Veri <averi redhat com>
Date: Tue May 18 15:09:07 2021 +0200
Read the secret, turn exec bit on
gitlab/archive-group.py | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gitlab/archive-group.py b/gitlab/archive-group.py
old mode 100644
new mode 100755
index 954a94a..afd3222
--- a/gitlab/archive-group.py
+++ b/gitlab/archive-group.py
@@ -4,6 +4,7 @@ import gitlab
GROUP_ID = 4001
+exec(open("/home/admin/secret/gitlab_rw").read())
gl = gitlab.Gitlab('https://gitlab.gnome.org', GITLAB_PRIVATE_RW_TOKEN, api_version=4)
g = gl.groups.get(GROUP_ID)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]