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 Cloud Run functions from Cloud Source Repositories
Stay organized with collections
Save and categorize content based on your preferences.
This topic describes how to deploy
Cloud Run functions
by using code that is version controlled in Cloud Source Repositories.
By integrating Cloud Run functions with Cloud Source Repositories, you can
use Cloud Source Repositories to version control the code that contains your
function. As the function changes over time, you can continue to access previous
commits to see how the function changed and when.
Create and deploy the function
With your code stored in Cloud Source Repositories, your next step is to
create a function and deploy it. Follow the instructions in the
Cloud Run functions guide: Deploying from Cloud Source Repositories.
What's next
For more information on deploying Cloud Run functions to
Cloud Source Repositories, see the following Cloud Run functions
documentation:
[[["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."],[],[]]