You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/08/19 04:05:20 UTC

[GitHub] [beam] damondouglas commented on a diff in pull request #22724: [Playground] Update build_playground_backend.yml - add "Index creation" in backend pipeline

damondouglas commented on code in PR #22724:
URL: https://github.com/apache/beam/pull/22724#discussion_r949779830


##########
.github/workflows/build_playground_backend.yml:
##########
@@ -85,3 +85,9 @@ jobs:
           GOOGLE_APPLICATION_CREDENTIALS: /tmp/gcp_access.json
         run: ./gradlew playground:terraform:deployBackend -Pdocker-tag=${{env.DOCKERTAG}} -Pproject_id=${{ secrets.GCP_PLAYGROUND_PROJECT_ID }} -Pproject_environment='beta' -Pdocker-repository-root='${{ secrets.PLAYGROUND_REGISTRY_NAME}}/${{ secrets.GCP_PLAYGROUND_PROJECT_ID }}/playground-repository'
         if: startsWith(github.ref, 'refs/tags/')
+      - name: DB Index creation
+        run: |
+         gcloud auth activate-service-account --project=${{ secrets.GCP_PLAYGROUND_PROJECT_ID }} --key-file=/tmp/gcp_access.json

Review Comment:
   This is not a blocker on the PR, but I want to ask, there's no way to use service account impersonation instead of activating a service account via a downloaded key?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org