15
1 Copyright ©2015 CollabNet, Inc. All Rights Reserved. Advanced CI: Exploring Task-based CI with SVN and Git CollabNet

Advanced CI Topics: Exploring Task-based CI with SVN and Git

Embed Size (px)

DESCRIPTION

Simply moving CI away from an isolated dev discipline is not as easy as it may sound. It’s even harder if you’re trying to scale these practices across the enterprise. Two common challenges that emerge when you’re incorporating CI into the SDLC or extending CI best practices across multiple projects are: Achieving the high frequency of integrations while tying the CI process to the business needs and ensuring functional completeness, such as features that span multiple builds. Maintaining governance and inefficiencies of “shadow IT”. CI tooling and adoption is often driven at team level, resulting in ungoverned CI tooling and lost productivity as teams spend time establishing and maintaining CI environments. In this 30 minute webinar, we’ll present solutions for overcoming these challenges, by coupling the CI process with delivery of functionally complete stories--as defined by the business.

Citation preview

Page 1: Advanced CI Topics: Exploring Task-based CI with SVN and Git

1 Copyright ©2015 CollabNet, Inc. All Rights Reserved.

Advanced CI: Exploring Task-based CI with SVN and Git

CollabNet

Page 2: Advanced CI Topics: Exploring Task-based CI with SVN and Git

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

Page 3: Advanced CI Topics: Exploring Task-based CI with SVN and Git

3 Copyright ©2015 CollabNet, Inc. All Rights Reserved.

Agenda

•Task and/or Feature Branches •Task-Based CI and CD •Question and Answer

Page 4: Advanced CI Topics: Exploring Task-based CI with SVN and Git

4 Copyright ©2015 CollabNet, Inc. All Rights Reserved.

Centralized or Distributed (SVN or Git)

SVN

Git

Page 5: Advanced CI Topics: Exploring Task-based CI with SVN and Git

5 Copyright ©2015 CollabNet, Inc. All Rights Reserved.

Centralized Workflow

106 107 108 109 110 111 112 113 114

SVN/Git Master

Page 6: Advanced CI Topics: Exploring Task-based CI with SVN and Git

6 Copyright ©2015 CollabNet, Inc. All Rights Reserved.

Branch Based Workflow

SVN/Git Master

106

107 108 110

109 111

Page 7: Advanced CI Topics: Exploring Task-based CI with SVN and Git

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

Page 8: Advanced CI Topics: Exploring Task-based CI with SVN and Git

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

Page 9: Advanced CI Topics: Exploring Task-based CI with SVN and Git

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

Page 10: Advanced CI Topics: Exploring Task-based CI with SVN and Git

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

Page 11: Advanced CI Topics: Exploring Task-based CI with SVN and Git

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

Page 12: Advanced CI Topics: Exploring Task-based CI with SVN and Git

12 Copyright ©2015 CollabNet, Inc. All Rights Reserved. 12 Copyright ©2015 CollabNet, Inc. All Rights Reserved.

Demonstration

Page 13: Advanced CI Topics: Exploring Task-based CI with SVN and Git

13 Copyright ©2015 CollabNet, Inc. All Rights Reserved. 13 Copyright ©2015 CollabNet, Inc. All Rights Reserved.

Questions?

Kevin Hancock and Brian Dawson

[email protected] or [email protected] 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

Page 14: Advanced CI Topics: Exploring Task-based CI with SVN and Git

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

Page 15: Advanced CI Topics: Exploring Task-based CI with SVN and Git

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