2

Google offers git -> App Engine and git <-> Source Repository, so presumably somewhere it offers Source Repository -> App Engine.

But I can't find where... even after twice reading all the Source Repository and App Engine docs I can find, inc. https://cloud.google.com/source-repositories/docs/ .

I'd guess the procedure could be How to manually deploy direct from Bitbucket to Google App Engine? modified to access the SR files. But I can find the SR files in the GCS VM.

Deleting all the $HOME folders I do find

enter image description here

... have no effect on the files shown at Source:

enter image description here

Baffled.

Dan Cornilescu
  • 39,470
  • 12
  • 57
  • 97
ChrisJJ
  • 2,191
  • 1
  • 25
  • 38

2 Answers2

5

The best way to do this would be to clone the repository to your machine (or Cloud Shell), then use the App Engine deploy tool (https://cloud.google.com/appengine/docs/php/getting-started/deploying-to-app-engine) to deploy your app.

e.g.

gcloud source repos clone $REPO
cd $REPO
gcloud app deploy app.yaml
Billy Lynch
  • 136
  • 3
  • The question asks for direct :-) Thanks anyway for an indirect option. – ChrisJJ Nov 08 '16 at 21:31
  • That didn't work until I'd made adjustments. Those and some more are in the answer here http://stackoverflow.com/questions/37171916/how-do-i-deploy-to-gae-from-the-google-cloud-source-repository/40499674#40499674 . – ChrisJJ Nov 09 '16 at 03:04