DevOps Assembly Lines project
In today's era, automation can be seen everywhere. Things which humans used to do are being done by machines and even better and efficiently. DevOps assebmly lines is one such technology which brings automation in the activities performed by developers and operators and breaking the traditional barrier between the two teams. This reduces time and friction for deploying softwares.
Here is a task given by Mr. Vimal Daga sir during the summer training program . The task was to automate the process of hosting a website to the production environment after it has been deployed to testing environment and approved by QA team.
𝗧𝗮𝘀𝗸 𝗱𝗲𝘀𝗰𝗿𝗶𝗽𝘁𝗶𝗼𝗻:
1.) Create two branches in Github, namely master branch and dev1 branch.
2.) Create two jobs namely, dev1_job( job1) and master_job( job 2):
►Job 1 keeps on checking dev1 branch and when there is a change in dev1 branch it should be automatically triggered. Then, it deploys the code to the testing environment.
►Job 2 keeps on checking master branch and when there is any commit in master branch found, job2 should be automatically triggered.
3). Now, there is a quality assuarance team(QAT) which ensures if the website is running well or not. When QAT says it's perfect then only the code is deployed to the production environment. Now job3 comes.
4). Job3, which is QA_job, plays the role to merge dev1 branch and master branch.
5) Two environments, production environment and testing environment, are created in docker.
Tools which have been used:
1). Docker
2). Jenkins
3). Github
Result: