DevOps Project I

DevOps Project I

End to end automation and for this I have created three JOBS in Jenkins DevTeamTestTeamProductionTeam.

Here is the Jenkins Dashboard,

No alt text provided for this image

DevTeam

The work of Dev Team is to update website using Git and then to push it on GitHub in dev branch. And the Jenkins Job DevTeam will continously looking at the Repo using Triggers, at any updation in the repo it will copy the content of the repo to the specified location. And at last it will fire up the Jenkins job TestTeam.

  • In the Source Code Management, you have to give your Repo URL,
No alt text provided for this image
  • For Build Triggers, select Poll SCM,
No alt text provided for this image
  • For copying the content of Repo, Execute a shell
No alt text provided for this image
  • For building TestTeam Job , select Build other Projects
No alt text provided for this image

TestTeam

The work of the test team to test the update on a working environment before deploying to production environment. So the test team will deploy a container on docker and test the updates. If there are no problems then it will notify the Production Team. And at last it will fire up the Jenkins job ProductionTeam.

  • Running a testing environment as docker container,
No alt text provided for this image
  • For building ProductionTeam Job , select Build other Projects
No alt text provided for this image

ProductionTeam

The work of production team is to deploy the updates on production environment. So the production team will merge the dev branch to master branch in GitHub. And it will launch the docker container with those updates.

  • In the Source Code Management, you have to give your Repo URL and your credentials for allow merging,
No alt text provided for this image
  • Running a production environment as docker container,
No alt text provided for this image
  • For merging of dev branch to master branch ,
No alt text provided for this image


To view or add a comment, sign in

More articles by Sparsh Agrawal

  • AWS Infrastructure using Terraform IV

    Task : Perform task-3 with an additional feature to be added that is NAT Gateway to provide the internet access to…

  • AWS Infrastructure using Terraform III

    Task : We have to create a web portal for our company with all the security as much as possible. So, we use Wordpress…

  • AWS Infrastructure using Terraform II

    Task : 1. Create Security group which allow the port 80.

  • AWS Infrastructure using Terraform

    Terraform is an open-source tool created by HashiCorp. It is used for building, changing, and versioning infrastructure…

    2 Comments

Others also viewed

Explore content categories