GithubHelp home page GithubHelp logo

prasanjit- / devops_pipeline_demo Goto Github PK

View Code? Open in Web Editor NEW
27.0 4.0 719.0 123.37 MB

Complete DevOps CI/CD Pipeline Demo with Jenkins & Docker

Home Page: https://www.binpipe.org

Batchfile 37.66% Shell 48.28% HTML 10.93% CSS 1.45% Java 1.23% Dockerfile 0.46%
devops ci-cd jenkins pipeline deployment-automation

devops_pipeline_demo's Introduction

Demonstration for CI/CD deployment pipeline using Jenkins

| Subscribe & Learn DevOps for Free! BINPIPE


Learning Resources for DevOps, SRE, Cloud & Engineering Management

BINPIPE Learn DevOps! BINPIPE

Deliverables: This demonstration will simulate a completely automated CI/CD deployment pipeline using Jenkins. It will essentially do the following steps (phases):

  1. Pull the source code for a Java EE based Project from GIT. (SCM AUTOMATION)
  2. Compile (build) the code using Maven to generate the .war file (BUILD AUTOMATION)
  3. Run Test cases & ensure they pass. (TEST AUTOMATION)
  4. Copy the .war to a Docker build workspace (DEPLOYMENT AUTOMATION)
  5. Build a Docker image for Jboss server to run the war file. (DEPLOYMENT AUTOMATION)
  6. Deploy the Docker container on a target node. (DEPLOYMENT AUTOMATION)

Prerequisites: This demonstration has the following prerequisites:

  1. Jenkins should be installed with git, maven and shell plugins.
  2. In Jenkins Server install using # yum -y install git maven docker before trying out this demo.
  3. Changes to be made for Jenkins to be able to run docker.
echo "jenkins ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
echo 'Defaults:jenkins !requiretty' >> /etc/sudoers
setenforce 0 # Else disable SELINUX in /etc/sysconfig/selinux  and reboot

Execution: Add a Jenkins Build Job As per the below screenshot and build it:

  • Note: Add the build commands from the jenkins_build_commands.md file.

Jenkins build job Jenkins build job Jenkins build job Jenkins build job Jenkins build job


BINPIPE aims to simplify learning for those who are looking to make a foothold in the industry. 
Write to me at [email protected] if you are looking for tailor-made training sessions. 
For self-study resources look around in this repository, the Binpipe Blog and Youtube Channel.

๐Ÿ“’ Maintainer: Prasanjit Singh | binpipe.blogspot.com


License

devops_pipeline_demo's People

Contributors

dependabot[bot] avatar devopsvlogger avatar prasanjit- avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.