Date post: | 14-Apr-2017 |
Category: |
Software |
Upload: | devops-for-enterprise-systems |
View: | 60 times |
Download: | 0 times |
© 2016 IBM Corporation
Git for COBOL and PL/I?Yes it can make sense Rosalind Radcliffe
Distinguished Engineer
Chief Architect for DevOps for Enterprise Systems
@RosalindRad
1
© 2016 IBM Corporation
Please Note:• IBM’s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBM’s sole
discretion.
• Information regarding potential future products is intended to outline our general product direction and it should not be relied on in making a purchasing decision.
• The information mentioned regarding potential future products is not a commitment, promise, or legal obligation to deliver any material, code or functionality. Information about potential future products may not be incorporated into any contract.
• The development, release, and timing of any future features or functionality described for our products remains at our sole discretion.
• Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the user’s job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here.
2
© 2016 IBM Corporation3 4/8/2017
What is Git?• Open Source source code management
capability built to manage Linux development
• Distributed Source Code Management
• Full copy of the repository locally for
each user their own private copy on their
own machine
• Uses a commit ID instead of a version
• SHA-1 hash based on the code,
what came before it, who made the
commit, when they made it, and
other metadata
• Forking the repository is normal
3
Shared Repo
P1
P2P3
Shared Repo
Shared Repo
Shared Repo
P3P1
P2
© 2016 IBM Corporation4 4/8/2017
More on Git
• More info https://en.wikipedia.org/wiki/Git
• Git is available via https://git-scm.com
• Git for z/OS is provided by Rocket Software
• http://www.rocketsoftware.com/zos-open-source/tools
• Part of ported tools
• Provides the ability to run Git on z/OS
• Writes files to zFS
• Supports tagging files for EBDCIC, ASCII, UTF-8
• Adding a tag file to Git repository to indicate which files should be in which code page
• Configuration to say what code page should be used for repo
© 2016 IBM Corporation
GIT - With Build
5
GIT
Users workstations
GIT GIT
GIT
Central Server
GIT
GITHUB or other solution GIT
Build Systems
Distributed servers
Jenkins
Jenkins
slave
© 2016 IBM Corporation
GIT - With Build
6
GI
T
Users workstations
GI
T
GI
T
GI
T
Central Server
GI
T
GITHUB or other solution GI
T
Build Systems
Distributed servers
z/OSGI
T
Jenkins
Jenkins
slave
Jenkins
slave
z/OSMac/Linux/Windows
GI
T
What
build
script
?
© 2016 IBM Corporation
Open Source pipeline
7
Jira
Git
Eclipse
Artifactory, Nexus
Sonar – Sonarqube
Pipeline Automation - Jenkins
No true open source options Jenkins
sometimes used
IBM
Development
and Test
Environments
for z Systems
(zD&T) – no
open source
options
Ant, Maven,
Gradle,
Jenkins
© 2016 IBM Corporation8
Jenkins
• Jenkins Slave already runs on z/OS
• Allows running tasks on z/OS
• With Rocket Git port can use existing Git plugins to pull code to z/OS for build
© 2016 IBM Corporation9 4/8/2017
User Steps using ISPF
• Load files using Git pull
• Loads files to zFS
• Edit the files with standard ISPF editors
• Compile out of zFS or copy to PDSE as first build step
• Commit back to Git when successful compile or wanting to save state
• Push to central Git with successful test
© 2016 IBM Corporation10 4/8/2017
User Steps using IDz
• Git pull using eclipse git plugin
• All IDz local project function available
• Push file to z/OS to do JCL build
• Commit to Git when wanting to save state
• Push to central Git when ready to share with others
© 2016 IBM Corporation
Brand New DevOps from APIs to z Systems for Dummies book
Learn how your organization can:
• Understand the value of the Mainframe
• Adopt DevOps best practices for z Systems
• Make a DevOps transition and build for the Digital
Economy
For your free copy visit: http://ibm.biz/apis2zdevops
Additional Resources:Blogs: RTC or GIT? What works best for your z/OS development
Enterprise DevOps: What you really need to know
Video: UrbanCode for the Mainframe
Webinar: UrbanCode - Helping CICS Developers Everywhere Tackle their New Year's Resolutions!
Tech Zone playlist https://www.youtube.com/playlist?list=PLezLS0Tuqb-7M5V5HDhrA_lNFyLOQPBDx
© 2016 IBM Corporation
THANK YOU
12