Skip to content
Snippets Groups Projects
Commit 9fd3eb5a authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Link deriva credentials for upload input/output bags

parent 821a0f05
Branches
Tags
2 merge requests!76Develop,!70Dnanexus
......@@ -1335,6 +1335,12 @@ process uploadInputBag {
hostname > ${repRID}.uploadInputBag.log
ulimit -a >> ${repRID}.uploadInputBag.log
# link credential file for authentication
echo -e "LOG: linking deriva credentials" >> ${repRID}.uploadInputBag.log
mkdir -p ~/.deriva
ln -sf `readlink -e credential.json` ~/.deriva/credential.json
echo -e "LOG: linked" >> ${repRID}.uploadInputBag.log
yr=\$(date +'%Y')
mn=\$(date +'%m')
dy=\$(date +'%d')
......@@ -2287,6 +2293,12 @@ process uploadOutputBag {
hostname > ${repRID}.uploadOutputBag.log
ulimit -a >> ${repRID}.uploadOutputBag.log
# link credential file for authentication
echo -e "LOG: linking deriva credentials" >> ${repRID}.uploadOutputBag.log
mkdir -p ~/.deriva
ln -sf `readlink -e credential.json` ~/.deriva/credential.json
echo -e "LOG: linked" >> ${repRID}.uploadOutputBag.log
yr=\$(date +'%Y')
mn=\$(date +'%m')
dy=\$(date +'%d')
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment