From d61be3df43469e6f893a5bf8d314e6af81d2996a Mon Sep 17 00:00:00 2001 From: Rahul Chauhan Date: Thu, 20 Jun 2024 19:53:39 +0200 Subject: [PATCH] Sync sites to integration from gitlab Signed-off-by: Rahul Chauhan --- docker/rucio_client/scripts/CMSRSE.py | 7 +++++-- docker/rucio_client/scripts/k8s_sync_sites.sh | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docker/rucio_client/scripts/CMSRSE.py b/docker/rucio_client/scripts/CMSRSE.py index bf5af10..e469538 100644 --- a/docker/rucio_client/scripts/CMSRSE.py +++ b/docker/rucio_client/scripts/CMSRSE.py @@ -19,8 +19,8 @@ 'delete': 1}, 'lan': {'read': 0, 'write': 0, 'delete': 0}}, 'int-real': { - 'wan': {'read': 1, 'write': 0, 'third_party_copy_write': 1, 'third_party_copy_read': 1, - 'delete': 0}, + 'wan': {'read': 1, 'write': 1, 'third_party_copy_write': 1, 'third_party_copy_read': 1, + 'delete': 1}, 'lan': {'read': 0, 'write': 0, 'delete': 0}}, 'test': { 'wan': {'read': 1, 'write': 1, 'third_party_copy_write': 1, 'third_party_copy_read': 1, @@ -356,6 +356,9 @@ def _get_protocol(self, proto_json, protos_json): if self.cms_type == "test": prefix = prefix + "store/test/rucio/" + elif self.cms_type == "int-real": + prefix = prefix + "store/test/rucio/int/" + elif self.cms_type == "temp": prefix = prefix + "store/temp/" diff --git a/docker/rucio_client/scripts/k8s_sync_sites.sh b/docker/rucio_client/scripts/k8s_sync_sites.sh index 53b90f0..86a5f06 100755 --- a/docker/rucio_client/scripts/k8s_sync_sites.sh +++ b/docker/rucio_client/scripts/k8s_sync_sites.sh @@ -23,6 +23,7 @@ set -x cd docker/rucio_client/scripts/ if [ "$RUCIO_HOME" = "/opt/rucio-int" ] then + ./setRucioFromGitlab --type int-real exit 0 fi