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.

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

►Job 2 keeps on checking master branch and when there is any commit in master branch found, job2 should be automatically triggered.

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

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.

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

4). Job3, which is QA_job, plays the role to merge dev1 branch and master branch.

No alt text provided for this image

5) Two environments, production environment and testing environment, are created in docker.

Tools which have been used:

1). Docker

2). Jenkins

3). Github

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


Result:

No alt text provided for this image

To view or add a comment, sign in

More articles by Tanisha Agrawal

  • Summer Training at LinuxWorld

    I am very happy to share that I underwent summer training for DevOps assembly lines from LinuxWorld Informatics Pvt…

  • Launching mysql-wordpress on EKS

    WHAT IS EKS? Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy to run Kubernetes…

  • DevOps AL task 4

    In this task, task 3 is done using dynamic Jenkins cluster. The Jenkins master acts to schedule the jobs and assign…

  • DevOps AL task 6

    This task is similar in every way to task 3 except in this task we are not creating jobs manually from Jenkins GUI…

  • Upgrading task 2 with Kubernetes

    Kubernetes, also written as k8s, is an open source container orchestration system for automating computer application…

  • Integrating Prometheus and Grafana on K8s (DevOps AL task 5)

    WHAT IS PROMETHEUS? Prometheus is a free software application used for event monitoring and alerting. It records…

  • DevOps Assembly Lines Task 2

    Task description:- 1. Create container image that has Jenkins installed using Dockerfile.

    2 Comments
  • Creating application using terraform and jenkins

    Task description:- 1. Create the key and security group which allow the port 80.

    6 Comments

Others also viewed

Explore content categories