Mlops / Devops task 1

No alt text provided for this image

OBJECTIVE:-

JOB1:-If Developer push to dev branch then Jenkins will fetch from dev and deploy on dev-docker environment.


JOB2:-If Developer push to master branch then Jenkins will fetch from master and deploy on master-docker environment.Both dev-docker and master-docker environment are on different docker containers.

JOB3:-Manually the QA team will check (test) for the website running in dev-docker environment. If it is running fine then Jenkins will merge the dev branch to master branch and trigger #job 2

SOLUTION:-

This is very simple task we just have to create some jobs , So architecture is as follows

This Job1 has work that it will download the code from Github and paste in a folder and then we will deploy our code in a docker container.

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

Now comes a job3 this job have a remote trigger for QAT team this team will check the dev code and its working in any way then if everything is correct it will use remote trigger and initiate the job and job will merge the dev and master branch so that we can launch code to production.

No alt text provided for this image

Now for the last if code is assured and correct then it will be launched to the production OS so that clients can see this.

thank you so much for reading !!!!!!!!!!

To view or add a comment, sign in

More articles by Anjali Saini

  • Task4 of mlops

    Problem Statement: Create a project using transfer learning solving various problems like Face Recognition, Image…

  • Task 2 of mlops/Devops

    Problem Statement : 1. Create container image that’s has Python3 and Keras or numpy installed using dockerfile 2.

  • Task 4 of Devops AL

    Create A dynamic Jenkins cluster and perform task-3 using the dynamic Jenkins cluster. Steps to proceed as: 1.

  • Task 6 of devops AL

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

Explore content categories