Skip to content

IsNoble/Test-Pipeline-GCP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deployment

Currently deployed via a helm manged GKE cluster at stephenrmason.net Above currently non-functional due to cost of continuously running multiple pods in GKE.

Architecture

  • Basic tests are run via a github workflow Here
  • Application is containerized with docker and pushed to ghcr Here
  • Google resournces created via terraform files Here
  • Docker image is pulled by Kubernetes deployment, traffic from stephenrmason.net is directed to the pods via a LoadBalancer, code Here and cluster Here

Test-Pipeline-GCP

A demo of a GCP based CI/CD Pipeline. CI (Git Actions) CD (ArgoCD/Kubernetes/GKE)

Disclaimer

This project is purely for example/educational purposes. For a production static web page I would just publish the container and use Google Cloud Run, which is much more cost effective

TO-DO

  • Add terraform scripts to generate a GKE cluster
  • Create K8's manifests files for Django Ap
  • use Google Manged SSL to create a cert for [PLACEHOLDER DOMAIN NAME] NOTE: Did not need to do this yet, will implement later
    • Acquire domain name for project
  • Add DNS entry that points to the LoadBalancer of k8'S SERVICE
  • Packages K8's manifest into a Helm chart
  • Remove (currently) redundant k8's manifest files
  • Add terraform code to generate bucket for static django app files
    • Generate static storage bucket
    • set public ACL for static storage bucket.
  • Deploy ArgoCD via helm to my cluster
    • ON HOLD: argoCD testing will take place in local minikube cluster due to cost constraints.
  • Setup and configure external DNS
  • Setup and configure CertManager
  • Setup HTTPS vis Istio Gateway
  • Re-add cosign for docker image signing
  • Per GitOps best practice, Seperate application code and configuration code into seperate repos

About

A demo of a GCP based CI/CD Pipeline

Resources

Stars

Watchers

Forks

Packages