DevOps That Matters — Demystifying CI/CD and Build Pipelines

A presentation at DevOps Toronto Meetup in November 2021 in by Melissa McKay

Slide 1

Slide 1

DEVOPS THAT MATTERS Demystifying CI/CD and Build Pipelines

Slide 2

Slide 2

Melissa McKay @melissajmckay DEVELOPER ADVOCATE at JFROG

Slide 3

Slide 3

WHY SHOULD A DEV CARE ABOUT DEVOPS? ● Define DevOps ● Describe Components ● Your IT Value Stream ● Some Stories/Suggestions ?? ?

Slide 4

Slide 4

WHAT IS DEVOPS … DEVSECOPS? The Phoenix Project Gene Kim, Kevin Behr, George Spafford “Every person involved in a failed IT project should be forced to read this book.” ―TIM O’REILLY, Founder & CEO of O’Reilly Media The Unicorn Project Gene Kim The DevOps Handbook Gene Kim, Patrick Debois, John Willis, Jez Humble, John Allspaw

Slide 5

Slide 5

5 4 Commit the changes CI Servers Take VCS changes 6 Build Version Control System Dev. Team DRONE Declare new Resolve dependencies 1 dependencies Build Tools/Dependency Managers Build Tools/Dependency Managers 8 Deploy module Artifacts 7 MSBuild and Buildinfo BOM Resolve 2 dependencies ARTIFACTORY Roll out for Internal Analyze 10 Distribution DISTRIBUTION XRAY Contribute QA/QC 9 Metadata Updat e MSBuild External Data Sources Remote Repositories Resolve ARTIFACTORY EDGE ARTIFACTORY EDGE ARTIFACTORY EDGE 3 dependencies 10 Deploy to Provisioning Tools Production Production Servers

Slide 6

Slide 6

DEV(SEC)OPS COMPONENTS Source Code Repository Continuous Integration Single Source of Truth Build and test on every integration Package Manager Security Scanner Full bill of materials and binary history for traceability Deep scanning of dependencies and containers Continuous Deployment Automated deployment to the edge and beyond

Slide 7

Slide 7

WHAT DO YOU REALLY CARE ABOUT? ● Fast? ● Efficient? ● Reliable? ● Economical?

Slide 8

Slide 8

LOGGER.info(“In function transformMedia”); 12

Slide 9

Slide 9

ELIMINATE SILOS! 13

Slide 10

Slide 10

YOUR IT VALUE STREAM 14

Slide 11

Slide 11

LET’S TALK PIPELINES 15

Slide 12

Slide 12

IMPROVE BY 1% ● ● ● ● Fast Enough? Efficient Enough? Reliable Enough? Economical Enough? 16

Slide 13

Slide 13

RECOGNIZE THE PROBLEM 17

Slide 14

Slide 14

CODE, TEST, CHECK-IN, REPEAT

Slide 15

Slide 15

KNOW YOUR BUILD!

Slide 16

Slide 16

TEST, TEST, & TEST www.testcontainers.or g 20

Slide 17

Slide 17

HOW DO YOU DEPLOY?

Slide 18

Slide 18

SUMMARY 1. Understand your project’s business value and goals (eliminate silos). 2. Document your flow/pipeline. 3. Prioritize and improve by 1%. 4. Make your work and your metrics for success visible. 5. Master your CI/CD (source control management, testing, artifact management, and deployment). 6. Automate where it makes sense.

Slide 19

Slide 19

Q&A THANK YOU!