2

I´m trying to setup a continuous deployment for an appengine application (standard environment) using Google Cloud Builder. I have the following cloudbuild.yaml setup:

steps:
- name: gcr.io/cloud-builders/gcloud
  args: ['app', 'deploy', 'frontend/app.yaml']

As I understand, the cloud builder uses the service account [PROJECT-ID]@cloudbuild.gserviceaccount.com, therefore I added the role App Engine Admin in the IAM section of the cockpit. Still, it fails with the error:

ERROR: (gcloud.app.deploy) You do not have permission to access app [...] (or it may not exist): Request had insufficient authentication scopes.

Any idea what i´m missing?

Thanks!

1 Answer 1

1

At the moment, the Container Builder service does not provide your build with the scopes necessary to do App Engine deployments. We are addressing this issue, and hope to have things working soon.

In the meantime, you can follow https://github.com/GoogleCloudPlatform/cloud-builders/issues/36 for updates.

Sign up to request clarification or add additional context in comments.

2 Comments

Thank you, John. I´ll follow the github issue for updates!
The GitHub issue has now been resolved, so you should be able to get this working now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.