From 688d5ff93a70abc3588b059bb67f31ec19954803 Mon Sep 17 00:00:00 2001 From: Sakib Rahman Date: Mon, 20 May 2024 09:32:10 -0400 Subject: [PATCH] Hide the xrootd bearer token. Remove references to S3 secrets. (#18) ### Briefly, what does this PR introduce? Hide the xrootd bearer token. Remove references to S3 secrets. This goes in conjunction with https://github.com/eic/job_submission_condor/blob/feature-use-xrootd-transfer/templates/osg_csv.sh.in#L4 ### What kind of change does this PR introduce? - [ ] Bug fix (issue #__) - [ ] New feature (issue #__) - [ ] Documentation update - [ ] Other: __ ### Please check if this PR fulfills the following: - [ ] Tests for the changes have been added - [ ] Documentation has been added / updated - [ ] Changes have been communicated to collaborators ### Does this PR introduce breaking changes? What changes might users need to make to their code? ### Does this PR change default behavior? --- scripts/run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/run.sh b/scripts/run.sh index ce46d40..058e9de 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -5,7 +5,7 @@ IFS=$'\n\t' # Load job environment (mask secrets) if ls environment*.sh ; then - grep -v SECRET environment*.sh + grep -v BEARER environment*.sh source environment*.sh fi @@ -147,7 +147,7 @@ mkdir -p ${RECO_TEMP} --compactFile ${DETECTOR_PATH}/${DETECTOR_CONFIG}.xml \ --outputFile ${FULL_TEMP}/${TASKNAME}.edm4hep.root ls -al ${FULL_TEMP}/${TASKNAME}.edm4hep.root -} 2>&1 | grep -v SECRET_KEY | tee ${LOG_TEMP}/${TASKNAME}.npsim.log | tail -n1000 +} 2>&1 | tee ${LOG_TEMP}/${TASKNAME}.npsim.log | tail -n1000 # Data egress to directory if [ "${COPYFULL:-false}" == "true" ] ; then @@ -170,7 +170,7 @@ fi "${FULL_TEMP}/${TASKNAME}.edm4hep.root" if [ -f jana.dot ] ; then mv jana.dot ${LOG_TEMP}/${TASKNAME}.eicrecon.dot ; fi ls -al ${RECO_TEMP}/${TASKNAME}*.eicrecon.tree.edm4eic.root -} 2>&1 | grep -v SECRET_KEY | tee ${LOG_TEMP}/${TASKNAME}.eicrecon.log | tail -n1000 +} 2>&1 | tee ${LOG_TEMP}/${TASKNAME}.eicrecon.log | tail -n1000 # List log files ls -al ${LOG_TEMP}/${TASKNAME}.*