GitHub Actions CI/CD for Django Microservices
Client: HDFC Life
GitHub Actions
Python
GKE
Bash
Terraform
- Designed branching strategy and repo structure across 10+ GitHub repos
- Set up GitHub runners for Dev/UAT/Prod environments on VMs
- Automated deployment of 7 microservices to GKE via CI/CD workflows
Full Project Detail:
- Designed a structured branching strategy, along with standardized GitHub team and repository naming conventions to optimize collaboration and maintainability.
- Initialized 7 microservice repositories and 3 auxiliary repositories for common Python Django modules, shared services, and reusable CI/CD workflows.
- Provisioned and configured GitHub self-hosted runners across Dev, UAT, and Production environments on dedicated virtual machines.
- Automated runner setup using Bash scripts to install and configure necessary tools, ensuring uniformity and operational efficiency across environments.
- Engineered robust CI/CD workflows for all microservices, enabling automated build, test, and deployment processes to Google Kubernetes Engine (GKE) on Google Cloud Platform (GCP).
- Implemented Python scripts to automate the creation and management of GitHub and GCP secrets, reducing manual overhead.
Project Impact
- Eliminated manual errors and saved significant setup time through Python-based automation of secrets management.
- Achieved seamless deployments of all microservices across Dev, UAT, and Prod environments in GKE clusters, ensuring consistent delivery and scalability.