Mlops / Devops task 1
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.
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.
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 !!!!!!!!!!