Set up a complete continuous integration and delivery (CI/CD) pipeline on Jenkins to GCP
In this project, we deployed a simple Python web application using Jenkins CI/CD pipelines. The first pipeline is responsible for building the GCP infrastructure, and the second pipeline deploys the application to GKE cluster
- GCP Account
- Terraform
- docker
- kubectl
- Jenkins
- Open Jenkins and copy the infra pipeline first to the script section
- then copy the deployment pipeline to the script section
- build the infra pipeline with parameters once it finishes the deployment pipeline will be triggered
-
curl EXTERNAL-IP: PORT
In conclusion, this repository serves as a demonstration of how to create an automated CI/CD pipline using Jenkins to automate GCP infra and deploy to GKE. By following the instructions in this repository, you can learn how to :
- Containerize a simple application written in Python
- Using jenkins CI/CD Platform to automate our cycle
- Using Artifact Registry to manage application container image
- Deployment will be on GKE
- Apply DevOps best practices by setting up a development environment
If you have any questions, please contact me at [email protected]