Post on 07-Jul-2015
description
1 Copyright ©2015 CollabNet, Inc. All Rights Reserved.
Advanced CI: Exploring Task-based CI with SVN and Git
CollabNet
2 Copyright ©2015 CollabNet, Inc. All Rights Reserved.
Kevin Hancock, Senior Director Worldwide Field Operations
In his ten plus year at CollabNet, Kevin has led successful implementations of CollabNet products and services at some of the world’s largest enterprises.
Kevin works with organizations to transform their globally distributed application development teams into modern, agile organizations, helping to save millions of dollars while accelerating software delivery. Kevin holds a Bachelor of Science degree from Carnegie Mellon University, and a Masters degree from the University of Pittsburgh.
Brian Dawson, Manager Enterprise Agile Transformation
Brian works with large and small software development organizations to improve the Application Lifecycle Management (ALM) process through the use of TeamForge, OSS, and best practices.
Prior to CollabNet, Brian spent 12 years in software development. Much of that was spent at Sony Computer Entertainment including work as the Director of Tools and Technology, overseeing the development and deployment of a worldwide collaboration portal, and managing tools and process adoption and standardization.
Our Presenters
3 Copyright ©2015 CollabNet, Inc. All Rights Reserved.
Agenda
•Task and/or Feature Branches •Task-Based CI and CD •Question and Answer
4 Copyright ©2015 CollabNet, Inc. All Rights Reserved.
Centralized or Distributed (SVN or Git)
SVN
Git
5 Copyright ©2015 CollabNet, Inc. All Rights Reserved.
Centralized Workflow
106 107 108 109 110 111 112 113 114
SVN/Git Master
6 Copyright ©2015 CollabNet, Inc. All Rights Reserved.
Branch Based Workflow
SVN/Git Master
106
107 108 110
109 111
7 Copyright ©2015 CollabNet, Inc. All Rights Reserved.
Feature or Ticket based branching
SVN/Git Master
Work Item Tracker
106 107
108 109
110
111
112
113
114
116
115 117
8 Copyright ©2015 CollabNet, Inc. All Rights Reserved.
Benefits
Benefit from parallel development
Control over releases
Keeps the main branch pristine
Groups changes logically around a fixed element
Streamlines communications among team members
9 Copyright ©2015 CollabNet, Inc. All Rights Reserved.
• Traditional “Pure” CI:
– Commit all changes to Mainline or trunk
– Build per change
• Possible shortcomings: – Functionally incomplete changes enter pipeline
– Cannot reconcile build contents to Story inclusion or completeness
– Lacks governance around delivery of Storyies downstream
Traditional CI
10 Copyright ©2015 CollabNet, Inc. All Rights Reserved.
• Tasked-Based CI and CD – Govern introduction of changes to build, based on story or epic status
• Only include in build when functionally complete
– Govern promotion of build to UAT etc, based on story or epic status • Only promote changes to UAT when fuctionally complete
Task-Based CI - Defined
11 Copyright ©2015 CollabNet, Inc. All Rights Reserved.
Extends CI/CD to account for functional/business need
Increases integrity of the build validation
Provides support for managing long running feature development
Fortifies downstream traceability
Eases hand off to QA
Acts as foundation for automated acceptance testing
Task-Based CI - Benefits
12 Copyright ©2015 CollabNet, Inc. All Rights Reserved. 12 Copyright ©2015 CollabNet, Inc. All Rights Reserved.
Demonstration
13 Copyright ©2015 CollabNet, Inc. All Rights Reserved. 13 Copyright ©2015 CollabNet, Inc. All Rights Reserved.
Questions?
Kevin Hancock and Brian Dawson
kevin@collab.net or bdawson@collab.net www.collab.net +1-650-228-2500 +1-888-778-9793 blogs.collab.net twitter.com/collabnet www.facebook.com/collabnet www.linkedin.com/company/collabnet-inc
14 Copyright ©2015 CollabNet, Inc. All Rights Reserved.
• TeamForge Accelerator Packs
(http://www.collab.net/products/teamforge/enterprise-visibility)
• Enterprise CI as-a-service with Jenkins CI (webinar replay)
• CollabNet DevOps CI Blog (http://blogs.collab.net/devopsci)
• CollabNet Git blog (http://blogs.collab.net/git)
• CollabNet SVN blog (http://blogs.collab.net/subversion)
• CollabNet TeamForge/Jenkins Integration
(http://www.collab.net/products/integrations/hudson-teamforge)
Additional Resources
15 Copyright ©2015 CollabNet, Inc. All Rights Reserved. 15 Copyright ©2015 CollabNet, Inc. All Rights Reserved.
© 2014 CollabNet, Inc., All rights reserved. CollabNet is a trademark or registered trademark of CollabNet Inc., in the US and other countries. All other trademarks, brand names, or product names belong to their respective holders.
CollabNet, Inc. 8000 Marina Blvd., Suite 600 Brisbane, CA 94005 www.collab.net +1-650-228-2500 +1-888-778-9793 blogs.collab.net twitter.com/collabnet www.facebook.com/collabnet www.linkedin.com/company/collabnet-inc