Daniel Raniz Raneland
CI/CD Patterns and Antipatterns - Things your Pipeline Should (Not) Do
#1about 2 minutes
The hidden costs of slow and frustrating CI/CD pipelines
Slow, frustrating, and wasteful CI/CD pipelines interrupt developer flow and have a negative environmental impact.
#2about 3 minutes
Antipattern: Running the same pipeline for every trigger
The 'ritual' antipattern involves wastefully running identical, comprehensive pipelines for pull requests, merges, and nightly schedules.
#3about 3 minutes
Use conditional logic to run only necessary steps
Create context-specific pipelines for different triggers and use path filtering to run only the jobs relevant to the code that has changed.
#4about 2 minutes
Antipattern: Stop hoarding unnecessary build artifacts
The 'hoarding' antipattern wastes storage and makes navigation difficult by keeping every build artifact indefinitely instead of using automated cleanup.
#5about 2 minutes
Antipattern: Order pipeline steps for the fastest feedback
Prioritize tests that are most likely to fail, such as integration tests, to get feedback faster instead of following a conventional testing pyramid order.
#6about 3 minutes
Antipattern: Break monolithic pipelines into parallel jobs
Replace a single, long-running sequential pipeline with multiple parallel jobs for independent components like frontend and backend to significantly reduce wall-clock time.
#7about 7 minutes
Antipattern: Use caching and tooling images to avoid redundant work
Leverage caching for dependencies, build outputs, and Docker layers, and use pre-built tooling images to avoid starting from scratch on every run.
#8about 2 minutes
Antipattern: Prevent pipeline interference with unique identifiers
Avoid race conditions where concurrent pipelines overwrite shared resources like a 'latest' tag by using unique identifiers like the Git SHA for artifacts.
#9about 4 minutes
Antipattern: Properly size your build agents and runners
Ensure build agents are at least as powerful as developer machines to prevent resource-related failures, and consider self-hosted runners for full control over hardware.
#10about 1 minute
Recap of key CI/CD patterns and antipatterns
A summary of common pipeline pitfalls and the corresponding best practices for creating faster, more reliable, and efficient CI/CD workflows.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
14:06 MIN
Building confidence through a reliable CI/CD pipeline
Testing .NET applications a Tool box for every developer
00:41 MIN
The limitations of using pipelines for everything
Chaos in Containers - Unleashing Resilience
14:32 MIN
Using AI to optimize CI/CD pipelines
Navigating the AI Wave in DevOps
07:27 MIN
Why developers often overlook CI/CD security
Securing Your Web Application Pipeline From Intruders
04:43 MIN
Core concepts of continuous delivery for data
Implementing continuous delivery in a data processing pipeline
01:58 MIN
The evolution from traditional ops to CI/CD pipelines
GitOps: The past, present and future
02:48 MIN
Using AI to identify pipeline optimization opportunities
Engineering Velocity in the Age of AI: Lessons from Mobile CI/CD
20:13 MIN
Demo: Implementing pipeline and monitoring as code
Everything as Code: A Dozen As-Code Concepts beyond Infrastructure or Configuration as Code
Featured Partners
Related Videos
Practical tips and tricks for CI/CD success
Zan Markan
Antipatterns - nemesis of software development
Mustafa Toroman
3 Key Steps for Optimizing DevOps Workflows
Daniel Tao
GitLab CI pipelines for a whole company
Martin Beránek
Plan CI/CD on the Enterprise level!
Pawel Piwosz
Engineering Velocity in the Age of AI: Lessons from Mobile CI/CD
Tamás Bazsonyi
GitOps for the people
Lian Li
Implementing continuous delivery in a data processing pipeline
Álvaro Martín Lozano
From learning to earning
Jobs that call for the skills explored in this talk.


DevOps Engineer – Kubernetes & Cloud (m/w/d)
epostbox epb GmbH
Berlin, Germany
Intermediate
Senior
DevOps
Kubernetes
Cloud (AWS/Google/Azure)


![Senior Software Engineer [TypeScript] (Prisma Postgres)](https://wearedevelopers.imgix.net/company/283ba9dbbab3649de02b9b49e6284fd9/cover/oKWz2s90Z218LE8pFthP.png?w=400&ar=3.55&fit=crop&crop=entropy&auto=compress,format)

Senior Software Engineer [TypeScript] (Prisma Postgres)
Prisma
Remote
Senior
Node.js
TypeScript
PostgreSQL
Security-by-Design for Trustworthy Machine Learning Pipelines
Association Bernard Gregory
Machine Learning
Continuous Delivery
DevOps Architect (f/m/d) Pipeline / Dev Container / OpenShift
Siemens AG
Berlin, Germany
C++
GIT
CMake
Linux
DevOps
+7
Data Engineer CI/CD&IaC
Municipality of Valencia, Spain
€40-60K
GIT
Terraform
Continuous Integration
Amazon Web Services (AWS)


