From 13fcff95a8b676c2c67403b9d238ca81a566efa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Filip=20Str=C3=B6mb=C3=A4ck?= <filip.stromback@liu.se>
Date: Mon, 12 Aug 2024 16:31:33 +0200
Subject: [PATCH] Fixed GitLab access keys.

---
 files/tal/on_update.sh  | 1 -
 manifests/aes_sw.pp     | 2 +-
 manifests/auth.pp       | 2 +-
 manifests/auth_keydb.pp | 2 +-
 manifests/broker.pp     | 2 +-
 manifests/opendsa.pp    | 2 +-
 manifests/tal_cli.pp    | 2 +-
 7 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/files/tal/on_update.sh b/files/tal/on_update.sh
index d29cffa..d0d31f7 100644
--- a/files/tal/on_update.sh
+++ b/files/tal/on_update.sh
@@ -11,7 +11,6 @@ cd source
 
 python3 -m pip install --user -r scripts/requirements.txt
 
-sed -i 's|url = \.\./database|url = https://oauth2:glpat-WeW_ytbQ83JMs2UnQmhe@gitlab.liu.se/upp-aes/database|' .gitmodules
 git submodule update --init
 git checkout .gitmodules
 
diff --git a/manifests/aes_sw.pp b/manifests/aes_sw.pp
index cd9452b..1dcf3ce 100644
--- a/manifests/aes_sw.pp
+++ b/manifests/aes_sw.pp
@@ -193,7 +193,7 @@ class aes::aes_sw {
   vcsrepo { "${examadm_home}/scripts":
     ensure   => latest,
     provider => git,
-    source   => 'https://oauth2:iAyewr9Jq5E-tnsVrmbj@gitlab.liu.se/examadm/scripts.git',
+    source   => 'https://oauth2:glpat-j9tpiNqFYkmHYaY7-yLP@gitlab.liu.se/examadm/scripts.git',
     revision => 'master',
     owner    => $examadm_user,
     group    => $examadm_group,
diff --git a/manifests/auth.pp b/manifests/auth.pp
index 8180e32..254e9cc 100644
--- a/manifests/auth.pp
+++ b/manifests/auth.pp
@@ -134,7 +134,7 @@ class aes::auth (
   vcsrepo { "${auth_home}/src":
     ensure   => latest,
     provider => git,
-    source   => 'https://oauth2:F-agHaRXCdyFy38q4c-N@gitlab.liu.se/upp-aes/communication.git',
+    source   => 'https://oauth2:glpat-4X3CEJQo-LMZgam5m9yv@gitlab.liu.se/upp-aes/communication.git',
     revision => $server_type,
     owner    => $auth_user,
     group    => $auth_group,
diff --git a/manifests/auth_keydb.pp b/manifests/auth_keydb.pp
index f71e86b..fd52ecb 100644
--- a/manifests/auth_keydb.pp
+++ b/manifests/auth_keydb.pp
@@ -49,7 +49,7 @@ class aes::auth_keydb {
   vcsrepo { "${keydb_home}/src":
     ensure   => latest,
     provider => git,
-    source   => 'https://oauth2:F-agHaRXCdyFy38q4c-N@gitlab.liu.se/upp-aes/communication.git',
+    source   => 'https://oauth2:glpat-4X3CEJQo-LMZgam5m9yv@gitlab.liu.se/upp-aes/communication.git',
     revision => $server_type,
     owner    => $keydb_user,
     group    => $keydb_group,
diff --git a/manifests/broker.pp b/manifests/broker.pp
index c2895d5..b3304a7 100644
--- a/manifests/broker.pp
+++ b/manifests/broker.pp
@@ -149,7 +149,7 @@ class aes::broker {
   vcsrepo { "${broker_home}/src":
     ensure   => latest,
     provider => git,
-    source   => 'https://oauth2:F-agHaRXCdyFy38q4c-N@gitlab.liu.se/upp-aes/communication.git',
+    source   => 'https://oauth2:glpat-4X3CEJQo-LMZgam5m9yv@gitlab.liu.se/upp-aes/communication.git',
     revision => $server_type,
     owner    => $broker_user,
     group    => $broker_group,
diff --git a/manifests/opendsa.pp b/manifests/opendsa.pp
index 58f8c32..dc28c13 100644
--- a/manifests/opendsa.pp
+++ b/manifests/opendsa.pp
@@ -48,7 +48,7 @@ class aes::opendsa {
     ensure     => latest,
     provider   => git,
     submodules => false,
-    source     => 'https://oauth2:taNPRZid9Hv6jJtdW_T8@gitlab.liu.se/opendsa/OpenDSA.git',
+    source     => 'https://oauth2:glpat-B9NoJGAMzkYgscuL4rdq@gitlab.liu.se/opendsa/OpenDSA.git',
     revision   => 'exam',
     owner      => $opendsa_user,
     group      => $opendsa_group,
diff --git a/manifests/tal_cli.pp b/manifests/tal_cli.pp
index 2164dcc..2c66163 100644
--- a/manifests/tal_cli.pp
+++ b/manifests/tal_cli.pp
@@ -60,7 +60,7 @@ class aes::tal_cli (
     ensure     => latest,
     provider   => git,
     submodules => false,
-    source     => 'https://oauth2:glpat-bfpVssm_zFmt1YRW7cLz@gitlab.liu.se/upp-aes/tal-cli.git',
+    source     => 'https://oauth2:glpat-4X3CEJQo-LMZgam5m9yv@gitlab.liu.se/upp-aes/tal-cli.git',
     revision   => master,
     owner      => examadm,
     group      => examadm,
-- 
GitLab