diff --git a/scripts/run_batch-code_remote-input_s3-output_s3-work_s3-fusion.sh b/scripts/run_batch-code_remote-input_s3-output_s3-work_s3-fusion.sh index 580e591..98ecffe 100755 --- a/scripts/run_batch-code_remote-input_s3-output_s3-work_s3-fusion.sh +++ b/scripts/run_batch-code_remote-input_s3-output_s3-work_s3-fusion.sh @@ -9,6 +9,10 @@ RES=s3://data-intuitive-tmp/test-nextflow-wave-fusion/resources WORK=s3://data-intuitive-tmp/test-nextflow-wave-fusion/work/${script_name%.sh} NXF_CONFIG=/tmp/${script_name%.sh}.config +# set aws profile +export AWS_PROFILE=di +echo "aws profile: $AWS_PROFILE" + # clear output dir echo "Clearing output directory" aws s3 rm $TMPOUT --recursive diff --git a/scripts/run_batch-code_remote-input_s3-output_s3-work_s3.sh b/scripts/run_batch-code_remote-input_s3-output_s3-work_s3.sh index 36a3186..44f5817 100755 --- a/scripts/run_batch-code_remote-input_s3-output_s3-work_s3.sh +++ b/scripts/run_batch-code_remote-input_s3-output_s3-work_s3.sh @@ -9,6 +9,10 @@ RES=s3://data-intuitive-tmp/test-nextflow-wave-fusion/resources WORK=s3://data-intuitive-tmp/test-nextflow-wave-fusion/work/${script_name%.sh} NXF_CONFIG=/tmp/${script_name%.sh}.config +# set aws profile +export AWS_PROFILE=di +echo "aws profile: $AWS_PROFILE" + # clear output dir echo "Clearing output directory" aws s3 rm $TMPOUT --recursive diff --git a/scripts/run_local-code_local-input_s3-output_s3-work_local.sh b/scripts/run_local-code_local-input_s3-output_s3-work_local.sh index a7915c5..7e9c130 100755 --- a/scripts/run_local-code_local-input_s3-output_s3-work_local.sh +++ b/scripts/run_local-code_local-input_s3-output_s3-work_local.sh @@ -7,6 +7,10 @@ TMPOUT=s3://data-intuitive-tmp/test-nextflow-wave-fusion/output/${script_name%.s OUT=output/${script_name%.sh} RES=s3://data-intuitive-tmp/test-nextflow-wave-fusion/resources +# set aws profile +export AWS_PROFILE=di +echo "aws profile: $AWS_PROFILE" + # clear output dir echo "Clearing output directory" aws s3 rm $TMPOUT --recursive diff --git a/scripts/run_local-code_remote-input_s3-output_local-work_local.sh b/scripts/run_local-code_remote-input_s3-output_local-work_local.sh index 3a68a7a..05cb5a4 100755 --- a/scripts/run_local-code_remote-input_s3-output_local-work_local.sh +++ b/scripts/run_local-code_remote-input_s3-output_local-work_local.sh @@ -6,6 +6,10 @@ script_name=$(basename "$0") OUT=output/${script_name%.sh} RES=s3://data-intuitive-tmp/test-nextflow-wave-fusion/resources +# set aws profile +export AWS_PROFILE=di +echo "aws profile: $AWS_PROFILE" + # clear output dir [ -d "$OUT" ] && rm -r "$OUT" diff --git a/scripts/run_local-code_remote-input_s3-output_s3-work_local.sh b/scripts/run_local-code_remote-input_s3-output_s3-work_local.sh index 333a6ea..5abf846 100755 --- a/scripts/run_local-code_remote-input_s3-output_s3-work_local.sh +++ b/scripts/run_local-code_remote-input_s3-output_s3-work_local.sh @@ -7,6 +7,10 @@ TMPOUT=s3://data-intuitive-tmp/test-nextflow-wave-fusion/output/${script_name%.s OUT=output/${script_name%.sh} RES=s3://data-intuitive-tmp/test-nextflow-wave-fusion/resources +# set aws profile +export AWS_PROFILE=di +echo "aws profile: $AWS_PROFILE" + # clear output dir echo "Clearing output directory" aws s3 rm $TMPOUT --recursive