Skip to content

Commit

Permalink
Remove AWS S3 access test.
Browse files Browse the repository at this point in the history
  • Loading branch information
zaneselvans committed Nov 16, 2024
1 parent 581507d commit c4179b0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions docker/gcp_pudl_etl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,6 @@ echo "aws_access_key_id = ${AWS_ACCESS_KEY_ID}" >> ~/.aws/credentials
echo "aws_secret_access_key = ${AWS_SECRET_ACCESS_KEY}" >> ~/.aws/credentials
set -x

# TEST AWS S3 ACCESS. REMOVE BEFORE MERGING PR.
echo "Testing AWS access" > aws-access-test.txt
gcloud storage ls s3://pudl.catalyst.coop
gcloud storage cp aws-access-test.txt s3://pudl.catalyst.coop/aws-access-test.txt
gcloud storage rm s3://pudl.catalyst.coop/aws-access-test.txt

# Run ETL. Copy outputs to GCS and shutdown VM if ETL succeeds or fails
# 2>&1 redirects stderr to stdout.
run_pudl_etl 2>&1 | tee "$LOGFILE"
Expand Down

0 comments on commit c4179b0

Please sign in to comment.