Continuous Integration and Deployment on Rational Development and Test Environment for z Systems

22
DEZ-3478: Continuous Integration and Deployment on Rational Development and Test Environment for z Systems Richard Brunkhorst RD&T Development Team Lead

Transcript of Continuous Integration and Deployment on Rational Development and Test Environment for z Systems

Page 1: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

DEZ-3478: Continuous Integration and Deployment on Rational Development and Test Environment for z Systems Richard Brunkhorst RD&T Development Team Lead

Page 2: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

Abstract

How do you do DevOps for z without requiring z (hardware) for the initial phases of development? By coding, testing, and deploying on Rational Development and Test Environment for System z (RD&T), users are able to develop using the DevOps lifecycle without impacting their production mainframe environments. This session focuses on the use of UrbanCode Deploy (UCD) to deploy to an RD&T target. It will feature a demo that includes Rational Developer for z Systems (RDz) and Rational Team Concert (RTC) to develop, build, and test on RD&T, and uses UCD to deploy to a test area on Rational Development and Test Environment for z Systems in preparation for formal QA.

Page 3: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

Agenda

• Acronyms used in Presentation • Why does Continuous Integration Matter? • Traditional mainframe development work flow • Demo development work flow using DevOps model • DevOps Model & Demo Focus Points • Maintenance Scenario used for demo • Demo Presentation • Summary • Q&A

Page 4: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

Acronyms

• UCD – UrbanCode Deploy: A tool for automating application deployments through your environments.

• RD&T – Rational Development and Test Environment for System z: A Linux based platform that emulates z Hardware and allows users to run z Software stacks (z/OS, z/VM) on an Intel based platform.

• RDz – Rational Developer for z Systems: A modern IDE for productive development of cross-platform applications written in COBOL, PL/I, ASM, Java, or C/C++ in System z CICS, IMS, DB2, Batch applications

• RTC – Rational Team Concert: A team-aware software development platform that integrates work item tracking, builds, source control, and agile planning.

• CLM – Collaborative Lifecycle Management: A solution that delivers requirements management, quality management, change and configuration management, and project planning and tracking capabilities on a single platform.

• SCM – Software Configuration Management:

Page 5: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

Why does Continuous Integration Matter: Key Trends in Development Today

• Managing Applications & Infrastructure TOGETHER • Use of Hybrid Cloud environments • Adoption of DevOps practices • Growing use of Services • Flexibility in Cloud application delivery

– Containers, Virtual Machines, Cloud Foundry • “Multi-Speed IT”- DevOps includes the Mainframe

Page 6: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

The need: Integrate systems of engagement with systems of record

Systems of Engagement (SoE) Apps

Rapid Releases AppStore

Monitor and Optimize

Release and Deploy

Develop and Test

Inte

grat

ion

Test

6

Monitor and Optimize

Develop and Test

Web Apps Frequent Releases

Production Environment

Databases

Systems of Record (SoR) Apps Fewer

Releases Databases

By bringing together the culture, processes, and tools across the entire software delivery lifecycle – spanning mobile to mainframe platforms

Page 7: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

Change Request Opened

Implement Change •Developer Checks code out from SCM

•Developer implements change

•Developer checks code into SCM

Build •Developer Requests a build

•Build is queued

•Build is run during non-peak hours

Stage for test •Load modules moved to test area

Test •Manual testing performed on application

•Automated testing performed on application

•Defects identified

Approval for next stage •Approved for next state of testing or for production

Stage for production •Load modules moved to production area

Traditional Mainframe Development Workflow

Mainframe Environment

Page 8: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

Change Request Opened

Implement Change Build Stage for

test Test Approval for next stage

Stage for production

Application Moved to RD&T •UrbanCode Deploy copies Application code from production

Implement Change •Developer Checks code out from SCM

•Developer implements change

•Developer checks code into SCM

Build •Developer builds changes on demand

•Automated Test Cases are run

•Defects Identified

•Package Created

Deploy •Package deployed on demand for function testing

•Automated tests & analysis are run on deployed modules

•Failed tests/analysis flagged on deployment

Test Cycle •Manual Testing of application code

•Automated Testing of application code

•Defects Identified

Stage for moving to Mainframe

Demo Development Work Flow

Mainframe Environment

RD&T Environment

Page 9: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

DevOps Model & Demo Focus Points

9 9

Continuous Customer Feedback

& Optimization

Continuous Release and Deployment

Continuous Monitoring

Continuous Business Planning

Continuous Testing

Operate Develop/ Test

Deploy

Steer

DevOps Continuous Feedback

• Continuous Integration is achieved by using Collaborative Development & Continuous Testing via: RD&T, RDz, & RTC

• Continuous Release and Deployment via: UCD, RTC, & RD&T

Collaborative Development

Page 10: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

Development Topology

Page 11: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

Maintenance Scenario

• There is an existing CICS application used for calculating mortgages • The CICS application uses a VSAM file for application data • There is a new requirement to have the CICS application use a DB2

database instead of a VSAM file

Page 12: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

Video Demo

Page 13: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

Checkpoint #1 – RD&T Environment is primed for Development

UrbanCode Deploy - Deployment to RD&T

Page 14: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

Checkpoint #2 – Developer has implemented change and is ready for building

RDz + RTC Workbench – Developer has checked in new change set

Page 15: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

Checkpoint #3 – Developer has built and packaged a new change set and is ready for deployment

RTC Build Results – Build results with integrated zUnit Results

Page 16: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

Checkpoint #4 – Package has been deployed and ready for function test

UCD – Deployment results with zUnit + Code Coverage steps

Page 17: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

Demo Highlights

• With the use of RD&T, code development, unit test, and function test can be offloaded from the mainframe to the RD&T platform. RD&T has the capability of running the same software stack as the mainframe.

• With the use of RDz, developers can perform program analysis, make source code changes, and debug from a modern development environment. In addition RDz provides quality analysis tooling that can integrate into the build and deployment processes.

• RTC provides work item tracking, builds, and source control. It also has the capabilities for custom post-build processing (automated running of zUnit and Code Coverage) and reporting features allowing users to gain insight into the quality of builds being produced.

• UCD provides deployment management, allowing deployable packages to be moved between environments. It also has the capabilities for custom deployment process, allowing the use of analysis tooling integrations (zUnit and Code Coverage), which can give users insight into the quality of the deployment packages being produced

Page 18: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

Q&A

Page 19: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

Resources

• Rational Development and Test Environment for System z: http://www-03.ibm.com/software/products/en/ratideveandtestenviforsystz

• Rational Developer for z System: http://www-03.ibm.com/software/products/en/rational-developer-for-z-systems

• Collaborative Lifecycle Management: https://jazz.net/products/clm/

• Rational Team Concert: https://jazz.net/products/rational-team-concert/

• UrbanCode Deploy: https://developer.ibm.com/urbancode/products/urbancode-deploy/

Page 20: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

Notices and Disclaimers

20

Copyright © 2016 by International Business Machines Corporation (IBM). No part of this document may be reproduced or transmitted in any form without written permission from IBM.

U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM.

Information in these presentations (including information relating to products that have not yet been announced by IBM) has been reviewed for accuracy as of the date of initial publication and could include unintentional technical or typographical errors. IBM shall have no responsibility to update this information. THIS DOCUMENT IS DISTRIBUTED "AS IS" WITHOUT ANY WARRANTY, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL IBM BE LIABLE FOR ANY DAMAGE ARISING FROM THE USE OF THIS INFORMATION, INCLUDING BUT NOT LIMITED TO, LOSS OF DATA, BUSINESS INTERRUPTION, LOSS OF PROFIT OR LOSS OF OPPORTUNITY. IBM products and services are warranted according to the terms and conditions of the agreements under which they are provided.

Any statements regarding IBM's future direction, intent or product plans are subject to change or withdrawal without notice.

Performance data contained herein was generally obtained in a controlled, isolated environments. Customer examples are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual performance, cost, savings or other results in other operating environments may vary.

References in this document to IBM products, programs, or services does not imply that IBM intends to make such products, programs or services available in all countries in which IBM operates or does business.

Workshops, sessions and associated materials may have been prepared by independent session speakers, and do not necessarily reflect the views of IBM. All materials and discussions are provided for informational purposes only, and are neither intended to, nor shall constitute legal or other guidance or advice to any individual participant or their specific situation.

It is the customer’s responsibility to insure its own compliance with legal requirements and to obtain advice of competent legal counsel as to the identification and interpretation of any relevant laws and regulatory requirements that may affect the customer’s business and any actions the customer may need to take to comply with such laws. IBM does not provide legal advice or represent or warrant that its services or products will ensure that the customer is in compliance with any law

Page 21: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

Notices and Disclaimers Con’t.

21

Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements or other publicly available sources. IBM has not tested those products in connection with this publication and cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products. IBM does not warrant the quality of any third-party products, or the ability of any such third-party products to interoperate with IBM’s products. IBM EXPRESSLY DISCLAIMS ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

The provision of the information contained h erein is not intended to, and does not, grant any right or license under any IBM patents, copyrights, trademarks or other intellectual property right.

IBM, the IBM logo, ibm.com, Aspera®, Bluemix, Blueworks Live, CICS, Clearcase, Cognos®, DOORS®, Emptoris®, Enterprise Document Management System™, FASP®, FileNet®, Global Business Services ®, Global Technology Services ®, IBM ExperienceOne™, IBM SmartCloud®, IBM Social Business®, Information on Demand, ILOG, Maximo®, MQIntegrator®, MQSeries®, Netcool®, OMEGAMON, OpenPower, PureAnalytics™, PureApplication®, pureCluster™, PureCoverage®, PureData®, PureExperience®, PureFlex®, pureQuery®, pureScale®, PureSystems®, QRadar®, Rational®, Rhapsody®, Smarter Commerce®, SoDA, SPSS, Sterling Commerce®, StoredIQ, Tealeaf®, Tivoli®, Trusteer®, Unica®, urban{code}®, Watson, WebSphere®, Worklight®, X-Force® and System z® Z/OS, are trademarks of International Business Machines Corporation, registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at: www.ibm.com/legal/copytrade.shtml.

Page 22: Continuous Integration and Deployment on Rational Development and Test Environment  for z Systems

Thank You Your Feedback is Important!

Access the InterConnect 2016 Conference Attendee Portal to complete your session surveys from your

smartphone, laptop or conference kiosk.