Integrating Github Docker & Jenkins

Integrating Github Docker & Jenkins

We are in a Automation world right now and as we all can observe that in present scenario that due this COVID pandemic this Automation will be used more to reduce human dependencies .It is mainly a project of Devops .

No alt text provided for this image


Thus , in order to utilise this qurantine time I just read topic to explore things and i came out with this projecting integrating Github , Jenkins and Docker.

              AUTOMATION WITH GITHUB , DOCKER & JENKINS

AIM : The main aim behind this was to automate the process of checking testing environment and production environment of github with help of automation tool JENKINS with help of DOCKER container.

This is the basic Map that we have to create while implementing .


This is basic map that we have to create while implementnig .


Procedure :

  1. Firstly , we have to create a repo. in Github with two branches master and dev in which dev branch will be developer branch and master will be our production environment .
  2. Then in your Jenkins (an automation tool ) create a job with work to get trigger whenever there is a change in master branch and copy it to a folder and mount it with the docker container of httpd . So that all the changes can be copued to docker container of httpd , ( HTTPD is a server which will deploy our websites so that whatever change we did can be uploaded to website .)
  3. Now , in your Jenkins create the same job for master our production environment .
  4. At this point our half work is done and now we have to check that as we do any changes to our github repository it should be deployed to their respective websites . Now, on checking that our testing environment is working properly it is time to merge the dev branch to master branch .
  5. In order to merge create a job in Jenkins that will merge dev branch to master branch and thus after testing our made changes are uploaded to our main website .
  6. The Checking is done by QA team manually that if the site is working or not.
            THUS , WE HAVE ACHEIVED AN AUTOMATED ENVIRONMENT

* What we have achieved ?

: Now, in this automated environment as soon as we push our changes to github form git it will automatically be deployed for testing and after approval of QA team just by one clock we will be there with our final tested rpoduct which can a website and a many more interesting thing .

 HERE IS THE LINK TO MY PROJECT : https://github.com/cv692001/Automation_Project


Sharing some of the pics of my projects :-)


No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

Hope you liked it :-) .


For any further queries please contact me .

Soham Baijal

Full Stack Developer | BA3 @ Barclays

4 年

Nicely explained and very informative Chirag Vaishnav

Maitri Gupta

Business Development and Partnerships Lead @The Sandbox India | Building products with seamless transition from Web2.0 to Web3.0

4 年

Great work! Also the article seems very informative!!

要查看或添加评论,请登录

社区洞察

其他会员也浏览了