Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
Hide the xrootd bearer token. Remove references to S3 secrets. (#18)
Browse files Browse the repository at this point in the history
### 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?
  • Loading branch information
rahmans1 authored May 20, 2024
1 parent 2fff819 commit 688d5ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand All @@ -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}.*
Expand Down

0 comments on commit 688d5ff

Please sign in to comment.