Skip to content

Commit

Permalink
Uncomment s3 upload
Browse files Browse the repository at this point in the history
  • Loading branch information
SevInf committed Jul 10, 2024
1 parent 6ba5325 commit 4b00a86
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/build-engines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
env:
BUCKET_NAME: 'prisma-builds-github-actions'
PRISMA_ENGINES_COMMIT_SHA: ${{ inputs.commit || github.sha }}
DESTINATION_TARGET_PATH: 's3://prisma-builds-github-actions/all_commits/${{ inputs.commit }}'
DESTINATION_TARGET_PATH: 's3://prisma-builds-github-actions/all_commits/${{ inputs.commit || github.sha }}'

steps:
# Because we need the scripts
Expand Down Expand Up @@ -271,14 +271,12 @@ jobs:
AWS_ENDPOINT_URL_S3: ${{ vars.R2_ENDPOINT }}
run: bash .github/workflows/utils/uploadAndVerify.sh engines-artifacts-for-r2

# TODO uncomment
# This fails with permission denied at the moment
# - name: 'AWS S3: Upload to bucket and verify uploaded files then create `.finished` file'
# env:
# AWS_DEFAULT_REGION: 'eu-west-1'
# AWS_ACCESS_KEY_ID: ${{ vars.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# run: bash .github/workflows/utils/uploadAndVerify.sh engines-artifacts-for-s3
- name: 'AWS S3: Upload to bucket and verify uploaded files then create `.finished` file'
env:
AWS_DEFAULT_REGION: 'eu-west-1'
AWS_ACCESS_KEY_ID: ${{ vars.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: bash .github/workflows/utils/uploadAndVerify.sh engines-artifacts-for-s3

- name: Cleanup local directories
run: rm -rf engines-artifacts engines-artifacts-for-r2 engines-artifacts-for-s3

0 comments on commit 4b00a86

Please sign in to comment.