A partir del 17 de junio de 2024, Cloud Source Repositories no estará disponible para clientes nuevos. Si tu organización no usó Cloud Source Repositories antes, no puedes habilitar la API ni usar Cloud Source Repositories. Los proyectos nuevos que no estén conectados a una organización no podrán habilitar la API de Cloud Source Repositories. Las organizaciones que usaron Cloud Source Repositories antes del 17 de junio de 2024 no se verán afectadas por este cambio.
Implementa Cloud Source Repositories en App Engine
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
En este tema, se describe cómo integrar Cloud Source Repositories en App Engine.
App Engine es un framework web y una plataforma de computación en la nube para el desarrollo y alojamiento de aplicaciones web mediante Google Cloud.
Puedes implementar código de Cloud Source Repositories en App Engine de la misma manera que lo harías si usaras archivos locales. En este tema, encontrarás los pasos que debes seguir para hacerlo.
Clona un repositorio
Si aún no lo hiciste, clona el contenido del repositorio de Google Clouden un repositorio de Git local con el comando gcloud source repos clone:
gcloud source repos clone hello-world
Implementa tu app
Desde una ventana de terminal, navega a tu repositorio. En el siguiente comando, reemplaza path_to_repository por la ruta de acceso al repositorio que contiene tu aplicación.
cdpath_to_repository
Implementa tu app:
gcloud app deploy app.yaml
Sigue las instrucciones para implementar y probar tu app.
Para detectar cambios nuevos, como cuando envías una actualización al repositorio, vuelve a ejecutar el comando gcloud app deploy app.yaml.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-04 (UTC)"],[],[],null,["# Deploying from Cloud Source Repositories to App Engine\n\nThis topic describes how to integrate Cloud Source Repositories with App Engine.\n\nApp Engine is a web framework and cloud computing platform for\ndeveloping and hosting web apps by using the Google Cloud.\n\nYou can deploy your code from Cloud Source Repositories to App Engine\nin the same way you would using a local files. The steps in this topic show\nyou how.\n| **Note:** you must [create a repository](/source-repositories/docs/creating-an-empty-repository) and create code for a deployable app before deploying to App Engine.\n\nClone a repository\n------------------\n\nIf you have not already done so, clone the contents of the Google Cloud\nrepository into a local Git repository by using the `gcloud source repos clone`\ncommand: \n\n gcloud source repos clone hello-world\n\nDeploy your app\n---------------\n\n1. From a terminal window, navigate to your repository. In the following\n command, replace \u003cvar translate=\"no\"\u003epath_to_repository\u003c/var\u003e with the path to the\n repository that contains your application.\n\n ```bash\n cd path_to_repository\n ```\n2. Deploy your app:\n\n gcloud app deploy app.yaml\n\n Follow the prompts to deploy and test your app.\n\n To pick up new changes, such as when you push an update into your\n repository, re-run the `gcloud app deploy app.yaml` command.\n3. Verify that your app is running:\n\n gcloud app browse"]]