Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/saikrishnareddy1919/simple-express-app-cicd

CI/CD - CI(using jenkins) and CD (ArgoCD) solution for simple express app.
https://github.com/saikrishnareddy1919/simple-express-app-cicd

argocd aws cicd cluster docker ec2 jenkins jenkins-pipeline kubernetes

Last synced: about 1 month ago
JSON representation

CI/CD - CI(using jenkins) and CD (ArgoCD) solution for simple express app.

Awesome Lists containing this project

README

        

## What this does?

This repo along with https://github.com/SaikrishnaReddy1919/express-app-cicd-manifests creates a Jenkins pipeline with GitOps to deploy code into a Kubernetes cluster. CI part is done via Jenkins and CD part via ArgoCD (GitOps).

## Jenkins installation

Follow the instructions on https://www.jenkins.io/doc/tutorials/tutorial-for-installing-jenkins-on-AWS/ . You can skip "Configure a Cloud" part for this demo. Please note some commands from this link might give errors, below are the workarounds:

1. If you get daemonize error while running the command `sudo yum install jenkins java-1.8.0-openjdk-devel -y` then , run the commands from the answer of https://stackoverflow.com/questions/68806741/how-to-fix-yum-update-of-jenkins

2. Install Docker on the EC2 after Jenkins is installed by following the instructions on https://serverfault.com/questions/836198/how-to-install-docker-on-aws-ec2-instance-with-ami-ce-ee-update

3. Run `sudo chmod 666 /var/run/docker.sock` on the EC2 after Docker is installed.

4. Install Git on the EC2 by running `sudo yum install git`

### Jenkins plugins

Install the following plugins for the demo.

- Amazon EC2 plugin (No need to set up Configure Cloud after)
- Docker plugin
- Docker Pipeline
- GitHub Integration Plugin
- Parameterized trigger Plugin

## ArgoCD installation

Install ArgoCD in your Kubernetes cluster following this link - https://argo-cd.readthedocs.io/en/stable/getting_started/