Skip to content

Commit

Permalink
Sync RSE config in integration from gitlab
Browse files Browse the repository at this point in the history
Signed-off-by: Rahul Chauhan <[email protected]>
  • Loading branch information
dynamic-entropy committed Jun 24, 2024
1 parent e1ebb8f commit 172429a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions docker/rucio_client/scripts/CMSRSE.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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/"

Expand Down
3 changes: 2 additions & 1 deletion docker/rucio_client/scripts/k8s_sync_sites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ voms-proxy-init -voms cms -cert /tmp/cert.pem -key /tmp/key.pem
voms-proxy-info

cd /root/CMSRucio
git pull origin master
export RUCIO_ACCOUNT=root

echo Using config file in $RUCIO_HOME
Expand All @@ -23,6 +22,8 @@ set -x
cd docker/rucio_client/scripts/
if [ "$RUCIO_HOME" = "/opt/rucio-int" ]
then
echo "Syncing Integration sites from JSON"
./setRucioFromGitlab --type int-real
exit 0
fi

Expand Down

0 comments on commit 172429a

Please sign in to comment.