Jenkins2.0 Pipeline-as-code 2

3y ago
22 Views
4 Downloads
1.18 MB
13 Pages
Last View : 15d ago
Last Download : 2m ago
Upload by : Jacoby Zeller
Transcription

2.0Jenkins2.0Pipeline-as-codeVirtual Conference - May, 2016

Jenkins 2.0 - https://jenkins.io/2.0/2.0

Pipeline Automates & Scales with Steps andTools2.0Continuous DeliveryDevNeeds al ageDeployProd

Build Pipelines before2.0 Many atomic jobs Hard to share variables/statebetween jobs Limited logic Mix build triggers, parameterizedbuild Job chaining4

Pipeline Today Is defined in ONE concise script2.0Is Resilient - survives Master restartsUses Stages to add control and contextIs Visualized – StageView provides status at a glancedashboard and trendingSupports slave elasticity As many as you want, when you wantIs Pausable - Supports live interaction pause and wait for human input/approvalIs Efficient- Restartable from checkpointsExtensibility – the Jenkins way SCM, artifacts, pluginsDelivers on “process as code”5

Pipeline DSL2.0

Pipeline DSL Reference2.0

Pipeline Stage View2.0

CD Pipeline-as-code?2.0Overall job definition is a script- calls your build tools and scripts for detailsScript can be versioned alongside projectsources- experimental branches- code review!Keep less configuration in JENKINS HOMEPipeline Global libs (DRY)9

Pipeline-as-code – MultiBranch Pipeline 2.0Branch with a Jenkinsfile one per subproject that is your Pipeline script just checkout scm to get full source treeCan edit Jenkinsfile (Pipeline) in your branch revision matches sourcesGit, SVN, MercurialDedicated GitHub support GitHub API Webhooks PullRequest10

Pipeline-as-code – Organization Folders2.0 Before: custom scripting just to add all100 repos New folder type: “organization”-each item is a multibranch Pipeline project-adds/removes projects automatically Only configuration is org name credentials-one step closer to “code as config”11

Pipeline-as-code: Demo2.012

Resources Jenkins Pipeline reference– https://jenkins.io/doc/pipeline/ Official Docker image– docker pull jenkinsci/pipeline-as-codegithub-demo– e-githubdemo/2.0

Pipeline-as-code – Organization Folders 11 Before: custom scripting just to add all 100 repos New folder type: “organization” - each item is a multibranch Pipeline project - adds/removes projects automatically Only configuration is org name credentials - one step closer to “code as config”

Related Documents:

Pipeline device hardware, Pipeline network, the Pipeline host hardware, the Pipeline application software and the Pipeline media disk storage systems. Each of these components is described below. Pipeline device hardware Pipeline device hardware has up to four independent channels with SDI I/O for capture and play out. The SDI

Page 2 of 22 ODNR‐DSWR Pipeline Standard 12‐3‐13 Pipeline ‐ The pipeline and its related appurtenances. Pipeline Company ‐ The entity responsible for installing the pipeline, its successors, and assigns, on its own behalf and as operator of the company. Right‐of‐Way ‐ Includes the permanent and temporary easements that the pipeline company acquires

and Hazardous Liquid pipeline risk models. Operators establish risk models to address risk and improve safety within their respective pipeline systems. Pipeline risk models are a foundational part of the assessment of operational pipeline risk. Federal pipeline safety integrity management (IM) regulations require pipeline operators to use risk

Page 2 of 22 ODNR‐DSWR Pipeline Standard 12‐3‐13 Pipeline ‐ The pipeline and its related appurtenances. Pipeline Company ‐ The entity responsible for installing the pipeline, its successors, and assigns, on its own behalf and as operator of the company. Right‐of‐Way ‐ Includes the permanent and temporary easements that the pipeline company acquires

Pipeline Conventions DEFINITION: a K-Stage Pipeline(“K-pipeline”) is an acyclic circuit having exactly K registers on everypath from an input to an output. a COMBINATIONAL CIRCUIT is thus an 0-stage pipeline. CONVENTION: Every pipeline stage, hence every K-Stage pipeline, has a register on its OUTPUT(not on its input). ALWAYS:

ONEOK NGL Pipeline, L.L.C. ONEOK Rockies Midstream, LLC Phillips 66 Pipelines LLC Plains Pipeline – Belfield Pipeline Silver Creek Midstream TC Energy / Bison Pipeline Pipeline LLC TC Energy / Northern Border Pipeline Company WBI Energy Midstream WBI Energy Transmission Pipelin

Reauthorized the Pipeline Safety, Regulatory Certainty, and Jobs Creation Act of 2011; reaffirmed mandates of the 2011 act; and established new mandates. Pipeline Safety Improvement Act of 2002 (CFR 192 Subpart O, Pipeline Integrity Management) Strengthened federal pipeline safety programs, state oversight of pipeline operators, and public .

awakening joy and beauty. On the Equinox, the Vase will be planted in Crete’s fertile soil to seed a new story for these times and connect with a global mandala of healing, protection and renewal for the Earth. The Practice of the Earth Treasure Vases Almost 30 years ago, on a life-changing pilgrimage to meet a 106-year-old lama living in a remote cave in Nepal, Cynthia Jurs met the great .