MLOPS TASK-1

#task1 #mlops #devopsassemblylines

JOB#1

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


JOB#2

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 are on different docker containers.


JOB#3

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


Firstly for automation we need that our code pushes as soon as we commit so we made changes in the .git foder in hooks.

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

For job1 firstly we need to save the github repo and then we have to copy all the data in the folder named as developer and from that we launch a docker image and on that image we mouth the volume with the data which we copied from github

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

for job 2 we took the dev branch and then we have again did the same thing as in job1 but we triggered it with job 3 as the job 3 completed succesfully it will run again

No alt text provided for this image

JOB3

In this its status will be checked by the Quality Assurance team and then after this if statuscode is 200 then they will automatically merge this with the master branch .

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

in above image we can see the both container running properly..

No alt text provided for this image

we also use the Ngork for the poll Scm from github. to jenkins so that it automaticaly will upload the code.

To view or add a comment, sign in

More articles by Rishabh Jain

  • Day 23 #Hybrid_Multi_Cloud_Training:

    1. We came to know about Network that is if we have multiple instance running and we need these instances to be…

  • Session22 #HYBRID MULTI CLOUD

    #HybridMultiCloud Session: 22 Mentor - Mr Vimal Daga Sir In This session i learnt about to deploy openstack (private…

  • Two Days Training...

    The two days training on AWS EKS was really too great came to learn a lot like Fargate clusters ie Multinode cluster…

  • #MLOps #DevOps_Assembly_line

    ❗️TASK-2❗️ 1. Create container image that’s has Jenkins installed using dockerfile 2.

  • A 15 minutes journey..

    Hello Connections! I want you all To devote me just 15 minutes and 30 seconds not for me but for you . 30 seconds for…

Others also viewed

Explore content categories