Skip to content

Commit

Permalink
commit scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Jun 17, 2024
1 parent 77809b5 commit 963b0ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions scripts/run_local-code_local-input_s3-output_s3-work_s3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,17 @@ aws s3 rm $TMPOUT --recursive
[ -d "$OUT" ] && rm -r "$OUT"

# create config
cat > $NXF_CONFIG <<EOF
cat > $NXF_CONFIG <<'EOF'
fusion {
enabled = true
exportStorageCredentials = true
}
wave {
enabled = true
}
docker {
runOptions = '-e AWS_PROFILE=$AWS_PROFILE'
runOptions = '-v $HOME/.aws/credentials:/credentials -e AWS_SHARED_CREDENTIALS_FILE=/credentials -e AWS_PROFILE=$AWS_PROFILE'
}
EOF

Expand Down
3 changes: 1 addition & 2 deletions scripts/run_local-code_remote-input_s3-output_s3-work_s3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@ aws s3 rm $TMPOUT --recursive
cat > $NXF_CONFIG <<EOF
fusion {
enabled = true
exportStorageCredentials = true
}
wave {
enabled = true
}
docker {
runOptions = '-e AWS_PROFILE=$AWS_PROFILE'
runOptions = '-v $HOME/.aws/credentials:/credentials -e AWS_SHARED_CREDENTIALS_FILE=/credentials -e AWS_PROFILE=$AWS_PROFILE'
}
EOF

Expand Down

0 comments on commit 963b0ae

Please sign in to comment.