Hands-on lab – integrating with Cloud Functions
The objective of this hands-on lab is to demonstrate the integration between a GCP compute service such as Cloud Functions with CSR. The intent is to illustrate how code can be deployed in Cloud Functions by pulling the code hosted from CSR. The following is a summary of the steps at a high level:
- Add code to an existing repository through the Cloud Shell Editor.
- Push code from the Cloud Shell Editor (local repository) into CSR.
- Create a cloud function and deploy code from the repository in CSR.
Adding code to an existing repository through the Cloud Shell Editor
This sub-section specifically focuses on adding code to an existing repository. Developers typically use their favorite editors to make code changes. The following shows the usage of GCP's Cloud Shell Editor, an online development environment that supports cloud-native development through the Cloud Code plugin along with language support...