Be 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 give attention to constructing nice purposes. Google Cloud Platform affords three serverless compute platforms—Cloud Features, 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 straightforward to spin up, however a system for steady integration and steady supply (CI/CD) is vital for long-term operability. Nonetheless, CI/CD programs are typically identified for his or her complexity, so GitHub Actions purpose to scale back the overhead by abstracting away the take a look at infrastructure and making a developer-centric CI/CD system. You may 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 built-in GitHub actions.
Let’s stroll by means of how one can deploy to Google Cloud Platform’s serverless choices utilizing the built-in GitHub actions. Study extra about Google’s serverless internet hosting choices or Google Cloud Platform full vary of internet hosting choices to seek out which platform is best for you.
Cloud Features
Cloud Features is Google Cloud’s Perform-as-a-Service platform that permits customers to create single-purpose, stand-alone capabilities that reply to occasions and HTTP requests. Cloud Features 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 operate by specifying the operate identify and runtime: