Effective June 17, 2024, Cloud Source Repositories isn't available to new customers. If your organization hasn't previously used Cloud Source Repositories, you can't enable the API or use Cloud Source Repositories. New projects not connected to an organization can't enable the Cloud Source Repositories API. Organizations that have used Cloud Source Repositories prior to June 17, 2024 are not affected by this change.
Deploying from Cloud Source Repositories to App Engine
Stay organized with collections
Save and categorize content based on your preferences.
This topic describes how to integrate Cloud Source Repositories with App Engine.
App Engine is a web framework and cloud computing platform for
developing and hosting web apps by using the Google Cloud.
You can deploy your code from Cloud Source Repositories to App Engine
in the same way you would using a local files. The steps in this topic show
you how.
Clone a repository
If you have not already done so, clone the contents of the Google Cloud
repository into a local Git repository by using the gcloud source repos clone
command:
gcloud source repos clone hello-world
Deploy your app
From a terminal window, navigate to your repository. In the following
command, replace path_to_repository with the path to the
repository that contains your application.
cdpath_to_repository
Deploy your app:
gcloud app deploy app.yaml
Follow the prompts to deploy and test your app.
To pick up new changes, such as when you push an update into your
repository, re-run the gcloud app deploy app.yaml command.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]