If you are planning to use this repo for reference, please hit the star. Thanks!
I will use GitHub Actions to deploy our VueJS project on Google Kubernetes Engine (GKE).
We will deploy the Vuejs Application on Google Kubernetes Engine (GKE). We will use Github actions for the ci/cd pipeline. We will use Google Compute Engine as the self-hosted runner for our GitHub Actions. We will integrate Sonarcube for code analysis and Triv Image scan to scan our docker images. Also, we will integrate Slack to get Build/deployment notifications.
You should have basic Knowledge of Google Kubernetes Engine (GKE), Docker, Kubernetes, and GitHub Actions.
Youtube Video Tutorial: https://youtu.be/Xn3Xj9Trepc
You should have basic Knowledge of AWS services, Docker, Kubernetes, and GitHub Actions.
1. Dockerize Vuejs Application with Nginx for Production
2. Create a service account user
3. Create a Google Compute Engine Instance
4. Add a Self-Hosted Runner To Google Compute Engine Instance
5. Docker Installation and Running SonarQube Container
6. Integrate SonarQube with GitHub Actions
7. Installation of tools (Java JDK, Trivy, Kubectl, Node.js, NPM)
8. Creating Artifact Registry and push the image
9. Scan the image using Trivy
10. Creating GKE Cluster
11. Deploy to GKE
Special thanks to codewithmuh for creating this incredible Devops Project and simplifying the CI/CD process.