Looking for Devops Prjection submission assistance

0 votes
Can someone help me with this.

Below tasks should be automated through Jenkins by creating a pipeline:

1. Install and configure puppet agent on the slave node (Job 1)

2. Sign the puppet certificate on master using Jenkins (Job 2) 3. Trigger the puppet agent on test server to install docker (Job 3)

4. Pull the PHP website, Dockerfile and Selenium JAR from your git repo and build and deploy your PHP docker container. After this test the deployment using Selenium JAR file. (Job 4)

5. If Job 4 fails, delete the running container on Test Server

Steps for executing the solution: • Use the Master VM for Jenkins, Ansible, Puppet, GIT etc.

• Use the Clean Ubuntu VM image provided in the “Edureka Setup Guide” for Jenkins Slave Node (Test Server) • Change the IP address of the VMs accordingly

• Add Build Pipeline Plugin and Post-build task plugin to Jenkins on the master VM

 • Install python, openssh-server and git on the slave node manually

 • Set up the necessary tools such as git, chromedriver(selenium), chromium browser(selenium) on the slave node through Ansible • Use the image devopsedu/webapp and add your PHP website to it using a Dockerfile

• Create a Selenium Test for your PHP website. It should click on “About” and verify the text written in it. This will conclude the website is deployed and is running fine

. • Push the PHP website, Dockerfile and Selenium JAR to a git repository
Feb 24 in DevOps & Agile by Kavitha
• 140 points
167 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In DevOps & Agile

+5 votes
2 answers

Xamarin and hockeyapp for DevOps

You can use Jenkins instead, It has ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DareDev
• 6,850 points

edited Oct 12, 2018 by Kalgi 142 views
0 votes
2 answers

Skills needed for becoming a good DevOps engineer

Some of the skills that a devops ...READ MORE

answered Jul 29, 2019 in DevOps & Agile by Sirajul
• 55,420 points
91 views
0 votes
1 answer

What is the cost for DevOps course?

Hey Anvith, The cost of Edureka's DevOps ...READ MORE

answered May 6, 2019 in DevOps & Agile by Edureka
• 2,980 points
116 views
+2 votes
2 answers

how to set different provisioning profiles for different targets using Xcode Build

For multiple targets, each task has to ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by ajs3033
• 7,280 points

edited Oct 16, 2018 by Kalgi 1,349 views
0 votes
1 answer

How do I use Devops with Xamarin and hockeyapp

It would be better if you use ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by Atul
• 10,240 points
127 views
+3 votes
2 answers
+3 votes
2 answers

What actually is DevOps?

DevOps is a software development approach which ...READ MORE

answered Oct 16, 2018 in DevOps & Agile by Kalgi
• 51,890 points
130 views
+1 vote
2 answers
+3 votes
5 answers

main roles of DevOps

Can you please brief about the roles ...READ MORE

answered Oct 16, 2018 in DevOps & Agile by Haider
136 views