SlideShare a Scribd company logo
Deployment Automation Practice
         in Agile Software Development


                       Wenhua Wang
               Software Quality Assurance Engineer
                    Marin Software Company
Email: wenhua.wang@marinsoftware.com, wangwenhua06@hotmail.com
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
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 this tedious work.
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
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-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*************
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
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.
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
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.
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*************
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.
Automate deployment work
Automate deployment work
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
Appendix 1
Appendix 2
Appendix 3
Appendix 4
Thanks !

More Related Content

What's hot (19)

PPTX
Selenium Tutorial for Beginners | Automation framework Basics
Techcanvass
 
PDF
Build Your Custom Performance Testing Framework
TechWell
 
PPTX
ATLAS Automation POC
aakashmc
 
PDF
Automation framework using selenium webdriver with java
Narayanan Palani
 
PPT
Automation framework
ITeLearn
 
PPTX
test_automation_POC
Rafael Battesti
 
PPTX
Oracle application testing suite online training
Glory IT Technologies Pvt. Ltd.
 
PDF
automationframework
Vijay Rangaiah
 
PPT
Ppt of soap ui
pkslide28
 
PPT
Performance Testing in Oracle Apps
Biswajit Pratihari
 
PPT
Selenium
Sun Technlogies
 
PPTX
Selenium web driver
Sun Technlogies
 
PPTX
Python selenium
Ducat
 
PPTX
Web Services and Introduction of SOAPUI
Dinesh Kaushik
 
PPTX
Web and load testing with Visual Studio 2010 Ultimate
Abhimanyu Singhal
 
PDF
O - Oracle application testing suite test starter kits for oracle e business ...
Satya Harish
 
PPTX
Keyword-driven Test Automation Framework
Mikhail Subach
 
PDF
Application Testing Suite
oracleonthebrain
 
PDF
Oracle Application Testing Suite. Competitive Edge
Maija Laksa
 
Selenium Tutorial for Beginners | Automation framework Basics
Techcanvass
 
Build Your Custom Performance Testing Framework
TechWell
 
ATLAS Automation POC
aakashmc
 
Automation framework using selenium webdriver with java
Narayanan Palani
 
Automation framework
ITeLearn
 
test_automation_POC
Rafael Battesti
 
Oracle application testing suite online training
Glory IT Technologies Pvt. Ltd.
 
automationframework
Vijay Rangaiah
 
Ppt of soap ui
pkslide28
 
Performance Testing in Oracle Apps
Biswajit Pratihari
 
Selenium
Sun Technlogies
 
Selenium web driver
Sun Technlogies
 
Python selenium
Ducat
 
Web Services and Introduction of SOAPUI
Dinesh Kaushik
 
Web and load testing with Visual Studio 2010 Ultimate
Abhimanyu Singhal
 
O - Oracle application testing suite test starter kits for oracle e business ...
Satya Harish
 
Keyword-driven Test Automation Framework
Mikhail Subach
 
Application Testing Suite
oracleonthebrain
 
Oracle Application Testing Suite. Competitive Edge
Maija Laksa
 

Viewers also liked (6)

PDF
Selenium 1july
Edureka!
 
PPTX
Data driven Automation Framework with Selenium
Edureka!
 
PDF
How To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs Webinar
Sauce Labs
 
PDF
Designing keyword and Data Driven Automation framework with Selenium
Edureka!
 
PDF
Selenium Automation Framework (SAF).
Mindtree Ltd.
 
PPT
Web Test Automation with Selenium
vivek_prahlad
 
Selenium 1july
Edureka!
 
Data driven Automation Framework with Selenium
Edureka!
 
How To Grade Your Selenium Tests by Dave Haeffner - Sauce Labs Webinar
Sauce Labs
 
Designing keyword and Data Driven Automation framework with Selenium
Edureka!
 
Selenium Automation Framework (SAF).
Mindtree Ltd.
 
Web Test Automation with Selenium
vivek_prahlad
 
Ad

Similar to Deployment automation framework with selenium (20)

PDF
Application deployment automation (XebiaLabs)
XebiaLabs
 
PDF
Webinar on deployment automation Xebialabs - 15 sept 2010
XebiaLabs
 
PPTX
Continuous Delivery Applied (Agile Richmond)
Mike McGarr
 
PPTX
Continuous Delivery Applied
Excella
 
PPTX
Continuous Deployment
Smartling
 
PPTX
Continuous Delivery Applied
DC Agile Engineering Conference
 
PDF
Deployments in one click!
Manuel de la Peña Peña
 
PDF
Continuous Delivery
Netcetera
 
PDF
Continuous Deployment – Nextdoor.fi released every day at Scan-Agile 2011
Marko Taipale
 
PPTX
Large scale automation with jenkins
Kohsuke Kawaguchi
 
PPTX
Automated Deployments
Martin Etmajer
 
PDF
Continuous delivery with Jenkins Enterprise and Deployit
XebiaLabs
 
PPT
Simple tools to fight bigger quality battle
Anand Ramdeo
 
PPTX
Continuous integration
Aaron Eden
 
PPT
Continuous Integration & Delivery
Jen Wei Lee
 
KEY
Continuous deployment
Daniel
 
PPTX
Backend Master | 3.4.1 Deploy - Deploy Automation
Kyunghun Jeon
 
PPTX
Continuous delivery applied (RJUG)
Mike McGarr
 
PPTX
Continuous Delivery Applied (AgileDC)
Mike McGarr
 
PDF
Hudson: from build jobs to build pipelines
John Ferguson Smart Limited
 
Application deployment automation (XebiaLabs)
XebiaLabs
 
Webinar on deployment automation Xebialabs - 15 sept 2010
XebiaLabs
 
Continuous Delivery Applied (Agile Richmond)
Mike McGarr
 
Continuous Delivery Applied
Excella
 
Continuous Deployment
Smartling
 
Continuous Delivery Applied
DC Agile Engineering Conference
 
Deployments in one click!
Manuel de la Peña Peña
 
Continuous Delivery
Netcetera
 
Continuous Deployment – Nextdoor.fi released every day at Scan-Agile 2011
Marko Taipale
 
Large scale automation with jenkins
Kohsuke Kawaguchi
 
Automated Deployments
Martin Etmajer
 
Continuous delivery with Jenkins Enterprise and Deployit
XebiaLabs
 
Simple tools to fight bigger quality battle
Anand Ramdeo
 
Continuous integration
Aaron Eden
 
Continuous Integration & Delivery
Jen Wei Lee
 
Continuous deployment
Daniel
 
Backend Master | 3.4.1 Deploy - Deploy Automation
Kyunghun Jeon
 
Continuous delivery applied (RJUG)
Mike McGarr
 
Continuous Delivery Applied (AgileDC)
Mike McGarr
 
Hudson: from build jobs to build pipelines
John Ferguson Smart Limited
 
Ad

Recently uploaded (20)

PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PDF
Linux schedulers for fun and profit with SchedKit
Alessio Biancalana
 
PDF
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Survival Models: Proper Scoring Rule and Stochastic Optimization with Competi...
Paris Women in Machine Learning and Data Science
 
PDF
Home Cleaning App Development Services.pdf
V3cube
 
PDF
Bitkom eIDAS Summit | European Business Wallet: Use Cases, Macroeconomics, an...
Carsten Stoecker
 
PPTX
Talbott's brief History of Computers for CollabDays Hamburg 2025
Talbott Crowell
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PDF
NASA A Researcher’s Guide to International Space Station : Fundamental Physics
Dr. PANKAJ DHUSSA
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PPTX
Essential Content-centric Plugins for your Website
Laura Byrne
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Linux schedulers for fun and profit with SchedKit
Alessio Biancalana
 
🚀 Let’s Build Our First Slack Workflow! 🔧.pdf
SanjeetMishra29
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Survival Models: Proper Scoring Rule and Stochastic Optimization with Competi...
Paris Women in Machine Learning and Data Science
 
Home Cleaning App Development Services.pdf
V3cube
 
Bitkom eIDAS Summit | European Business Wallet: Use Cases, Macroeconomics, an...
Carsten Stoecker
 
Talbott's brief History of Computers for CollabDays Hamburg 2025
Talbott Crowell
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
NASA A Researcher’s Guide to International Space Station : Fundamental Physics
Dr. PANKAJ DHUSSA
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
Essential Content-centric Plugins for your Website
Laura Byrne
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Digital Circuits, important subject in CS
contactparinay1
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 

Deployment automation framework with selenium

  • 1. Deployment Automation Practice in Agile Software Development Wenhua Wang Software Quality Assurance Engineer Marin Software Company Email: [email protected], [email protected]
  • 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. Deployment work in agile software development
  • 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. 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. Working environment • 12 distributed, heterogeneous, and specialized servers. • 26 steps are required
  • 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. 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. 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. 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. 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. 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. 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.
  • 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