Skip to content

Commit

Permalink
explicitly set aws profile
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Jun 17, 2024
1 parent 7e96b4c commit bc6f3fb
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions scripts/run_batch-code_remote-input_s3-output_s3-work_s3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions scripts/run_local-code_local-input_s3-output_s3-work_local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc6f3fb

Please sign in to comment.