Be a part of us on December 16, 2020, 11am PT / 2pm ET to be taught extra about Automating CI/CD pipelines with GitHub Actions and Google Cloud.

Serverless computing hides away infrastructure permitting for builders to deal with constructing nice purposes. Google Cloud Platform gives three serverless compute platforms—Cloud Capabilities, App Engine, and Cloud Run—with the advantages of zero server administration, no up-front provisioning, auto-scaling, and solely paying for the assets used. 

Serverless purposes are fast and simple to spin up, however a system for steady integration and steady supply (CI/CD) is essential for long-term operability. Nevertheless, CI/CD methods are usually identified for his or her complexity, so GitHub Actions goal to cut back the overhead by abstracting away the take a look at infrastructure and making a developer-centric CI/CD system. You will get began rapidly by including a configuration file to your repo to automate your builds, testing, and deployments. Google needs to satisfy you on GitHub and supplies Google Cloud Platform integrated GitHub actions.

Let’s stroll by means of easy methods to deploy to Google Cloud Platform’s serverless choices utilizing the built-in GitHub actions. Study extra about Google’s serverless hosting options or Google Cloud Platform full range of hosting options to search out which platform is best for you.

Cloud Capabilities

Cloud Functions is Google Cloud’s Operate-as-a-Service platform that permits customers to create single-purpose, stand-alone features that reply to occasions and HTTP requests. Cloud Capabilities are nice for items of code like sending notification emails, performing database sanitization and upkeep, integrating with webhooks, and processing background duties.

Use the google-github-actions/deploy-cloud-functions to deploy an HTTP function by specifying the operate identify and runtime:

Leave a Reply

Your email address will not be published. Required fields are marked *