Posts

Showing posts with the label jenkins

Integration of Github, Jenkins, and Docker

Image
Integration of Github, Jenkins, and Docker This is the first task i got in MLOps+DevOps training by LinuxWorld, India. Why we need this project ?🤔🤔🤔 Ans: The industry now need automation in every field, here in this task we are doing the same , now Question arise  HOW?🙄😶  for that we have used  Jenkins  , The popular automation tool which is used for various purposes but here we are using Jenkins to automate the process of whenever developer append to the code/program/app/file the jenkins will automatically upadtae the github repository, for this here we used three jobs😮… what actually are those jobs ?😦🙂  this is the right question… Ans: The  first jobs  is, If Developer push to dev branch then Jenkins will fetch from dev and deploy on dev-docker environment. The  Second  One is ,If Developer push to master branch then Jenkins will fetch from master and deploy on master-docke environment. Both dev-docker and master-docker environment ...

THE INTEGRATION OF GITHUB,DOCKER, AND JENKINS

Image
The integration of Docker, Jenkins, and Github The Project Of DevOps Training Under Linux World,India Project Description: 1. Create a container image that’s has Jenkins installed using Dockerfile.  2. When we launch this image, it should automatically start the Jenkins service in the container. 3. Create a job chain of job1, job2, job3 and job4 using the build pipeline plugin in Jenkins. 4. Job1: Pull the GitHub repo automatically when some developers push the repo to GitHub. 5. Job2: By looking at the code or program file, Jenkins should automatically start the respective language interpreter install image container to deploy code ( eg. If code is of PHP, then Jenkins should start the container that has PHP already installed ). 6. Job3: Test your app if it is working or not. 7. Job4: If the app is not working, then send an email to the developer with error messages. 8. Create One extra job job5 for monitor: If the container where the app is running. fails...