0
Deployment Automation Practice         in Agile Software Development                       Wenhua Wang               Softw...
Outline• Introduction to the deployment work   • Deployment work in agile software development   • Is it valuable to do th...
Deployment work in agile software development
Deployment work is tedious• Marin has 30+ developers.  No one wants to take it. • A senior QA engineer left,   because of ...
Outline• Introduction to the deployment work   • Deployment work in agile software development   • Is it valuable to do th...
Working environment• 12 distributed, heterogeneous, and specialized servers.• 26 steps are required
Working procedure  1. Grab the current tracking number (Example: Appendix 1).       •   branches-iteration-0019-front_end-...
Working procedure  7. Log into the deployment server.       •   Host name, username, password  8. Download latest compiled...
Working procedure  16. Switch to enterprise log server.       •   Host name, username, password  17. Go to log file server...
Outline• Introduction to the deployment work   • Deployment work in agile software development   • Is it valuable to do th...
Automate deployment work  • Techniques: Linux shell scripts, Selenium, and    Hudson.  • Automated steps 8 ~ 26 with Linux...
Automate deployment work  1. Grab the current version number.       •   branches-iteration-0019-front_end-47279 @ 20110913...
Automate deployment work  7. Log into the deployment server.      •   Host name, username, password  8. Run pushing script...
Automate deployment work
Automate deployment work
Outline• Introduction to the deployment work   • Deployment work in agile software development   • Is it valuable to do th...
Appendix 1
Appendix 2
Appendix 3
Appendix 4
Thanks !
Upcoming SlideShare
Loading in...5
×

Deployment automation framework with selenium

2,401

Published on

In my slides, I presented my experience in setting up a deployment automation framework with selenium.

The deployment automation framework dramatically dramatically reduced my deployment workload.

I hope my deployment automation setup experience help you in your own/customized automation framework setup with selenium and other open source tools.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,401
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
32
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Deployment automation framework with selenium"

  1. 1. Deployment Automation Practice in Agile Software Development Wenhua Wang Software Quality Assurance Engineer Marin Software CompanyEmail: wenhua.wang@marinsoftware.com, wangwenhua06@hotmail.com
  2. 2. Outline• Introduction to the deployment work • Deployment work in agile software development • Is it valuable to do the deployment automation work?• Deployment work automation • Deployment working environment and procedure • Deployment automation implementation• Q&A
  3. 3. Deployment work in agile software development
  4. 4. Deployment work is tedious• Marin has 30+ developers. No one wants to take it. • A senior QA engineer left, because of this tedious work.
  5. 5. Outline• Introduction to the deployment work • Deployment work in agile software development • Is it valuable to do the deployment automation work?• Deployment work automation • Deployment working environment and procedure • Deployment automation implementation• Q&A
  6. 6. Working environment• 12 distributed, heterogeneous, and specialized servers.• 26 steps are required
  7. 7. Working procedure 1. Grab the current tracking number (Example: Appendix 1). • branches-iteration-0019-front_end-47279 @ 20110913-04:44:58 branches-iteration-0019-mscm-47280 @ 20110902-04:54:56 2. Log into SVN server. • Input URL, user name and password 3. Got revision log page. 4. Search all the revisions after 47280 and copy them (Example: Appendix 2). 5. Log into email server. • Input URL, user name and password 6. Compose deployment notification email (Example: Appendix 3). • Receivers: QA, DEV, PRODUCT • Title: what build, what time, where to deploy • Content: new revisions ************wait for the deployment time*************
  8. 8. Working procedure 7. Log into the deployment server. • Host name, username, password 8. Download latest compiled files from build server. • Java Bridge, Spring Server, ACDC, Front End, …… 9. Stop services in the enterprise testing environment. 10. Deploy compiled files to enterprise testing environment. • Java Bridge, Spring Server, ACDC, Front End, …… 11. Go to database schema management server 12. Update data cloud schema. 13. Exit database schema management server. 14. Start services in the enterprise testing environment. 15. Log into admin server. • Host name, username, password
  9. 9. Working procedure 16. Switch to enterprise log server. • Host name, username, password 17. Go to log file server to check environment status. • /var/splunk/logs/dbs02/acdc/acdc-log.log • /var/splunk/logs/aps04/mscm/springserver-log.log • /var/splunk/logs/wps01/javabridge-log.log • /var/ftp/logs/ftpserver-log.log 18. ~ 26. : repeat 9~17 for the Pro testing environment.
  10. 10. Outline• Introduction to the deployment work • Deployment work in agile software development • Is it valuable to do the deployment automation work?• Deployment work automation • Deployment working environment and procedure • Deployment automation implementation• Q&A
  11. 11. Automate deployment work • Techniques: Linux shell scripts, Selenium, and Hudson. • Automated steps 8 ~ 26 with Linux shell scripts. • Pushing build script • Status checking script • Next: used selenium to automate the rest 9 steps.
  12. 12. Automate deployment work 1. Grab the current version number. • branches-iteration-0019-front_end-47279 @ 20110913-04:44:58 branches-iteration-0019-mscm-47280 @ 20110902-04:54:56 2. Log into SVN server. • Input URL, user name and password 3. Got revision log page. 4. Search all the revisions after 47280 and copy them 5. Log into email server. • Input URL, user name and password 6. Compose deployment notification email. • Receivers: QA, DEV, PRODUCT • Title: what build, what time, where to deploy • Content: new revisions ************wait for the deployment time*************
  13. 13. Automate deployment work 7. Log into the deployment server. • Host name, username, password 8. Run pushing scripts for deployment work. • Deploy a new build for enterprise and environment. • Deploy a new build for pro environment. 9. Run status checking scripts.
  14. 14. Automate deployment work
  15. 15. Automate deployment work
  16. 16. Outline• Introduction to the deployment work • Deployment work in agile software development • Is it valuable to do the deployment automation work?• Automating whole deployment process • Deployment working environment and procedure • Deployment automation implementation• Q&A
  17. 17. Appendix 1
  18. 18. Appendix 2
  19. 19. Appendix 3
  20. 20. Appendix 4
  21. 21. Thanks !
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×