diff --git a/.github/workflows/deploy-lambdas.yml b/.github/workflows/deploy-lambdas.yml index d7ff089630a..711a18ff83b 100644 --- a/.github/workflows/deploy-lambdas.yml +++ b/.github/workflows/deploy-lambdas.yml @@ -44,7 +44,7 @@ jobs: -v "$PWD/lambdas/${{ matrix.path }}":/lambda/function:z \ -v "$PWD/lambdas/shared":/lambda/shared:z \ -v "$PWD/out.zip":/out.zip:z \ - -v "$PWD/lambdas/build_zip.sh":/build_zip.sh:z \ + -v "$PWD/lambdas/scripts/build_zip.sh":/build_zip.sh:z \ "$BUILDER_IMAGE" - name: Configure AWS credentials from Prod account uses: aws-actions/configure-aws-credentials@v4 @@ -54,7 +54,7 @@ jobs: - name: Upload zips to Prod S3 run: | s3_key="$(basename ${{ matrix.path }})/${{ github.sha }}.zip" - ./lambdas/upload_zip.sh ./out.zip "$AWS_REGION" "$s3_key" + ./lambdas/scripts/upload_zip.sh ./out.zip "$AWS_REGION" "$s3_key" - name: Configure AWS credentials from GovCloud account uses: aws-actions/configure-aws-credentials@v4 with: @@ -63,7 +63,7 @@ jobs: - name: Upload zips to GovCloud S3 run: | s3_key="$(basename ${{ matrix.path }})/${{ github.sha }}.zip" - ./lambdas/upload_zip.sh ./out.zip "$AWS_REGION" "$s3_key" + ./lambdas/scripts/upload_zip.sh ./out.zip "$AWS_REGION" "$s3_key" deploy-lambda-ecr: strategy: @@ -89,11 +89,11 @@ jobs: role-to-assume: arn:aws:iam::730278974607:role/github/GitHub-Quilt aws-region: us-east-1 - name: Push Docker image to Prod ECR - run: ./lambdas/upload_ecr.sh 730278974607 quiltdata/lambdas/${{ matrix.path }}:${{ github.sha }} + run: ./lambdas/scripts/upload_ecr.sh 730278974607 quiltdata/lambdas/${{ matrix.path }}:${{ github.sha }} - name: Configure AWS credentials from GovCloud account uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: arn:aws-us-gov:iam::313325871032:role/github/GitHub-Quilt aws-region: us-gov-east-1 - name: Push Docker image to GovCloud ECR - run: ./lambdas/upload_ecr.sh 313325871032 quiltdata/lambdas/${{ matrix.path }}:${{ github.sha }} + run: ./lambdas/scripts/upload_ecr.sh 313325871032 quiltdata/lambdas/${{ matrix.path }}:${{ github.sha }} diff --git a/lambdas/build_zip.sh b/lambdas/scripts/build_zip.sh similarity index 100% rename from lambdas/build_zip.sh rename to lambdas/scripts/build_zip.sh diff --git a/lambdas/upload_ecr.sh b/lambdas/scripts/upload_ecr.sh similarity index 100% rename from lambdas/upload_ecr.sh rename to lambdas/scripts/upload_ecr.sh diff --git a/lambdas/upload_zip.sh b/lambdas/scripts/upload_zip.sh similarity index 100% rename from lambdas/upload_zip.sh rename to lambdas/scripts/upload_zip.sh