Skip to content

This repo contains code that creates a continuous integration and delivery (CI/CD) pipeline on Google Cloud [app]

License

Notifications You must be signed in to change notification settings

jeantardelli/gitops-style-cicd-with-gcp-app-repo

Repository files navigation

gitops-style-cicd-with-gcp-app-repo

This repo contains code that creates a continuous integration and delivery (CI/CD) pipeline on Google Cloud [app]. To run this repo you should also clone the env repo: gitops-style-cicd-with-gcp-env-repo.

It is necessary to configure Cloud Build to automatically run a small unit test, build the container image, and then push it to Artifact Registry. Pushing a new commit to Cloud Source Repositories automatically triggers this pipeline. The cloudbuild.yaml file included in the code is the pipeline's configuration.

This tutorial uses two Git repositories:

  • app repository: contains the source code of the application itself
  • env repository: contains the manifests for the Kubernetes Deployment

image

image

Repo

This repo follows the GitOps Style CD with Cloud Build tutorial but instead of using Cloud Source Repositories, it uses GitHub.

This pipeline does not implement a validation mechanism before the deployment. If you use GitHub, Bitbucket, or GitLab, you can modify the pipeline to use a Pull Request for this purpose.

Resources

GitOps Style continuous delivery with Cloud Build

Accessing GitHub from a build via SSH keys

About

This repo contains code that creates a continuous integration and delivery (CI/CD) pipeline on Google Cloud [app]

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published