Giter Club home page Giter Club logo

cicd-gcp's Introduction

CI-CD ON GCP

Google Cloud Platform offers a suite of tools from Cloud Source Repositories(GitHub equivalent) to Cloud Build and Cloud Run, all of which can be used to setup an automated CI-CD pipeline.

Cloud Build works similar to Jenkins as in it can be used to package your code into a docker image and deploy. Cloud Run is a No-Ops service to run code in containers and autoscale depending on the traffic it serves.

This repository also contains a sample nodejs app with the Dockerfile. cloudbuild.yaml is used as the configuration for Cloud build.

Latest changes include using Github Actions to build and deploy directly to GKE from a Github repo. With Slack notification to get status of build.

Pre-requisites: Access to Google Cloud platform with a valid billing id. Cloud Build and Cloud Run APIs need to be enabled. The default Cloud Build Service Account needs to have 'Cloud Run Admin' role granted to be able to deploy this app. For GitHub Actions, a service account key with permissions to deploy images to GCR and deploy workloads to GKE. Slack Channel and App with webhook.

cicd-gcp's People

Contributors

sukesh-hg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.