RelayHealth Build System                         Ron Cordell                     RelayHealth Clinicals  © 2011 RelayHealth...
RelayHealth Build SystemAgenda   Development/Deployment Life Cycle   Local Developer Builds   Automated Build System  ...
Development/Deploy Life Cycle• 7 Million Lines of Code, 20+ services, 20+ IIS sites, 20+ DBs• Ancilliary, 3rd Party proces...
Development/Deployment Life Cycle                                                     Code/Unit                           ...
RelayHealth Build SystemAgenda   Development/Deployment Life Cycle   Local Developer Builds   Automated Build System  ...
Local Developer Builds -MorningCoffee•   Clean local output and cache folders•   Turn off Windows Services and stop IIS•  ...
RelayHealth Build SystemAgenda   Development/Deployment Life Cycle   Local Developer Builds   Automated Build System  ...
Automated Build System – CC.Net• CruiseControl .NET runs continuously on the build servers• Performs similar steps the Mor...
CC.Net Tray Status App         © 2011 RelayHealth and/or its affiliates. All Rights Reserved. Proprietary and Confidential...
Build Step Status         © 2011 RelayHealth and/or its affiliates. All Rights Reserved. Proprietary and Confidential. For...
RelayHealth Build SystemAgenda   Development/Deployment Life Cycle   Local Developer Builds   Automated Build System  ...
Deployment System• Code deployed to Stage once a week from latest TRUNK “green”  build.• Code is branched for deployment i...
Deployment to Production•   STAGE testing by QA from Monday – Wednesday•   PROD deployment on Thursday•   BVT / Automated ...
RelayHealth Build SystemAgenda   Development/Deployment Life Cycle   Local Developer Builds   Automated Build System  ...
Planned Changes• Move to a complete, enterprise-hosted TFS system?  • TFS source control    • TFS Build Farms, Test Farms ...
Q&A      We’re Hiring!      Finance Director                                                 Product Manager      Quality ...
Upcoming SlideShare
Loading in …5
×

Relay health build system

1,167 views

Published on

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

No Downloads
Views
Total views
1,167
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
10
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Relay health build system

  1. 1. RelayHealth Build System Ron Cordell RelayHealth Clinicals © 2011 RelayHealth and/or its affiliates. All Rights Reserved. Proprietary and Confidential. For Internal Use Only. 1
  2. 2. RelayHealth Build SystemAgenda Development/Deployment Life Cycle Local Developer Builds Automated Build System Deployment System Planned Changes © 2011 RelayHealth and/or its affiliates. All Rights Reserved. Proprietary and Confidential. For Internal Use Only. 2
  3. 3. Development/Deploy Life Cycle• 7 Million Lines of Code, 20+ services, 20+ IIS sites, 20+ DBs• Ancilliary, 3rd Party processes• SQL Server 2008R2, MongoDB, RabbitMQ …• Developers run full system stack on their workstations• 12 Dev Teams working on 1 Product/Code Base• Production topology is somewhat different• All development teams work on TRUNK (typically no branching/merging)• Code changes are deployed behind soft switches• Deploy weekly (currently) © 2011 RelayHealth and/or its affiliates. All Rights Reserved. Proprietary and Confidential. For Internal Use Only. 3
  4. 4. Development/Deployment Life Cycle Code/Unit Test/Commit (Everyday) Deploy to Automated Production Build/Deploy (Thursday) (TEST) Automated Deployment Build/Deploy Branch Cut (STAGE) (Friday) © 2011 RelayHealth and/or its affiliates. All Rights Reserved. Proprietary and Confidential. For Internal Use Only. 4
  5. 5. RelayHealth Build SystemAgenda Development/Deployment Life Cycle Local Developer Builds Automated Build System Deployment System Planned Changes © 2011 RelayHealth and/or its affiliates. All Rights Reserved. Proprietary and Confidential. For Internal Use Only. 5
  6. 6. Local Developer Builds -MorningCoffee• Clean local output and cache folders• Turn off Windows Services and stop IIS• SVN update• Update SQL Server database (run delta scripts)• Create new Mongo collections (if any)• MSBUILD.EXE against targets file, DEBUG Profile, unsigned• Run Ndepends Analysis, Sync switches to database• Run Unit Tests (Nunit)• Create all IIS site definitions• Create all Windows service definitions• Start all services & IIS• WatiN Automation Tests run manually as needed © 2011 RelayHealth and/or its affiliates. All Rights Reserved. Proprietary and Confidential. For Internal Use Only. 6
  7. 7. RelayHealth Build SystemAgenda Development/Deployment Life Cycle Local Developer Builds Automated Build System Deployment System Planned Changes © 2011 RelayHealth and/or its affiliates. All Rights Reserved. Proprietary and Confidential. For Internal Use Only. 7
  8. 8. Automated Build System – CC.Net• CruiseControl .NET runs continuously on the build servers• Performs similar steps the MorningCoffee build, broken out into separate CruiseControl steps.• MSBUILD -> Release Profile, Signed & Versioned Assemblies• CC.Net adds a deployment step and a test automation step before a build is called “green”• Only green builds are promoted to Test System, usually twice daily.• Build failures result in automated rollback of check-ins since the last “green” build, including the databases. © 2011 RelayHealth and/or its affiliates. All Rights Reserved. Proprietary and Confidential. For Internal Use Only. 8
  9. 9. CC.Net Tray Status App © 2011 RelayHealth and/or its affiliates. All Rights Reserved. Proprietary and Confidential. For Internal Use Only. 9
  10. 10. Build Step Status © 2011 RelayHealth and/or its affiliates. All Rights Reserved. Proprietary and Confidential. For Internal Use Only. 10
  11. 11. RelayHealth Build SystemAgenda Development/Deployment Life Cycle Local Developer Builds Automated Build System Deployment System Planned Changes © 2011 RelayHealth and/or its affiliates. All Rights Reserved. Proprietary and Confidential. For Internal Use Only. 11
  12. 12. Deployment System• Code deployed to Stage once a week from latest TRUNK “green” build.• Code is branched for deployment in SVN• Branch is built similarly in CC.Net for the Deployment• Code is deployed to STAGE environment for final testing• Automated Tests are run - BVT• Switches as set to proper state to enable new code behavior• QA Tests as needed © 2011 RelayHealth and/or its affiliates. All Rights Reserved. Proprietary and Confidential. For Internal Use Only. 12
  13. 13. Deployment to Production• STAGE testing by QA from Monday – Wednesday• PROD deployment on Thursday• BVT / Automated Tests run on deployment in PROD• Switches set to correct state• Site is never “down” for deployment © 2011 RelayHealth and/or its affiliates. All Rights Reserved. Proprietary and Confidential. For Internal Use Only. 13
  14. 14. RelayHealth Build SystemAgenda Development/Deployment Life Cycle Local Developer Builds Automated Build System Deployment System Planned Changes © 2011 RelayHealth and/or its affiliates. All Rights Reserved. Proprietary and Confidential. For Internal Use Only. 14
  15. 15. Planned Changes• Move to a complete, enterprise-hosted TFS system? • TFS source control • TFS Build Farms, Test Farms • Take advantage of impact analysis, gated check-ins, traceability• Move to a more “best of breed” model? • Enterprise GitHub for source control • Team City for build system (gated check-ins) • Other tools for impact analysis, test traceability, etc.• True Continuous Build and Deployment • Better Test Automation • Correct issues preventing continuous deployment• Package Management, a la NuGet © 2011 RelayHealth and/or its affiliates. All Rights Reserved. Proprietary and Confidential. For Internal Use Only. 15
  16. 16. Q&A We’re Hiring! Finance Director Product Manager Quality Assurance Analyst Sr. Software Engineer Sr. Software Engineer Client Services Director Entry Level Software Engineer DevOps Developer Software Engineer Scrum Master Agile Project Manager Software Engineer Software QA Manager Storage Systems Engineer Director of Product Development Sr Software Eng (.Net Asp.Net Sql Svr Knowledge Manager Visio) Applications Security Architect Web RH Intern Applications Sr. Software Engineer Product Manager Agile SaaS Software Engineer in Test Scrum Master Agile Project Manager Software Quality Analyst Sr. Systems Administrator Quality Engineer 4 Manager User Experience Software Automation Engineer Quality Assurance Analyst Sr. Software Quality Engineer SW QA Automation Engineer Software Architect (.Net Sql Svr Asp.net) Project Manager EMR Implementations Interaction Designer Software Quality Architect Interface Implementation Services Sr. Software Engineer Manager Program Director Security Analyst CISSP © 2011 RelayHealth and/or its affiliates. All Rights Reserved. Proprietary and Confidential. For Internal Use Only. 16

×