MakarkinSAkvelon commented on code in PR #22724:
URL: https://github.com/apache/beam/pull/22724#discussion_r955660920
##########
.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:
I got following error even if I try to use "--impersonate-service-account
SERVICE_ACCOUNT":
WARNING: This command is using service account impersonation. All API calls
will be executed as [ms1-demo-svc@***.iam.gserviceaccount.com].
WARNING: Could not open the configuration file:
[/home/runner/.config/gcloud/configurations/config_default].
ERROR: (gcloud.app.deploy) You do not currently have an active account
selected.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]