Skip to content

imswapnil99/WebDevOps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DEVOPS_TASK-3

TASK OBJECTIVE:-

1. Create container image that’s has Jenkins installed using Dockerfile Or You can use the Jenkins Server on RHEL 8/7..

2. When we launch this image, it should automatically starts Jenkins service in the container..

3. Create a job chain of job1, job2, job3 and job4 using build pipeline plugin in Jenkins..

4. Job-1 : Pull the GitHub repo automatically when some developers push repo to Github..

5. Job-2 :

  • By looking at the code or program file, Jenkins should automatically start the respective language interpreter installed image container to deploy code on top of Kubernetes ( eg. If code is of PHP, then Jenkins should start the container that has PHP already installed )!!

  • Expose your pod so that testing team could perform the testing on the pod!!

  • Make the data to remain persistent ( If server collects some data like logs, other user information )!!

6. Job-3 : Test your app if it is working or not..

7. Job-4 : if app is not working , then send email to developer with error messages and redeploy the application after code is being edited by the developer..


PREREQUISITE:-

               * RHel-8 * Docker * Gitbash * Github * Jenkins * Kubernetes

  • Created container image that’s has Jenkins installed using Dockerfile or used the Jenkins Server on RHEL 8

Screenshot (138)

Screenshot (155)

  • JOB-1. :- Pull the GitHub repo automatically when some developers push repo to Github

Screenshot (156)

Screenshot (157)

Screenshot (158)

Screenshot (142)

Screenshot (141)

  • JOB-2. :-

Screenshot (159)

Screenshot (163)

  • JOB-3. :-

Screenshot (164)

Screenshot (165)

  • JOB-4. :-

Screenshot (166)_LI

Screenshot (167)_LI

THANK YOU !!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published