Skip to content

End-to-End Google Cloud CI/CD example repo and tutorial

License

Notifications You must be signed in to change notification settings

vszal/pop-kustomize

Repository files navigation

Demo: Google Cloud CI/CD for GKE

This repo demostrates CI/CD for GKE with Google Cloud tools Google Cloud Deploy, Cloud Build, and Artifact Registry. The example app is based on a simple Python Flask example app named "Population Stats" and uses Kustomize overlays to enable configuration differences across three different environments: test, staging, and prod..

Demo flow

Fork this repo

This demo relies on you making git check-ins to simulate a developer workflow. So you'll need your own copy of these files in your own Github.com repo.

Fork this repo on Github

If you've already done that, you can start the setup tutorial below.

Setup tutorial

The following tutorial walks you through all the setup needed to configure Google Cloud services needed to run this demo. Clicking this button provisions a Cloud Shell Editor and launches an interactive tutorial which steps you through the process. Google Cloud account and project required.

Start tutorial in cloud shell

If you don't want to run the tutorial in Cloud Shell, you can view the md file here.

About the Sample app - Population stats

Simple web app that pulls population and flag data based on country query.

Population data from restcountries.com API.

Feedback and contributions welcomed!