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.
Power Plus Communications
Mannheim, Germany
Intermediate
Senior
Docker
Kubernetes
+2
Wilken GmbH
Ulm, Germany
Senior
Kubernetes
AI Frameworks
+3
Matching moments
02:54 MIN
Automating video post-production with local scripts
Cat Herding with Lions and Tigers - Christian Heilmann
04:57 MIN
Increasing the value of talk recordings post-event
Cat Herding with Lions and Tigers - Christian Heilmann
01:32 MIN
Organizing a developer conference for 15,000 attendees
Cat Herding with Lions and Tigers - Christian Heilmann
03:28 MIN
Why corporate AI adoption lags behind the hype
What 2025 Taught Us: A Year-End Special with Hung Lee
04:22 MIN
Why HR struggles with technology implementation and adoption
What 2025 Taught Us: A Year-End Special with Hung Lee
02:44 MIN
Rapid-fire thoughts on the future of work
What 2025 Taught Us: A Year-End Special with Hung Lee
03:38 MIN
Balancing the trade-off between efficiency and resilience
What 2025 Taught Us: A Year-End Special with Hung Lee
03:48 MIN
Automating formal processes risks losing informal human value
What 2025 Taught Us: A Year-End Special with Hung Lee
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
Implementing continuous delivery in a data processing pipeline
Álvaro Martín Lozano
Engineering Velocity in the Age of AI: Lessons from Mobile CI/CD
Tamás Bazsonyi
How to Optimize Non-Coding Time
Yishai Beeri
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Confideck GmbH
Vienna, Austria
Remote
Intermediate
Senior
Node.js
MongoDB
TypeScript


Siemens AG
Berlin, Germany
C++
GIT
CMake
Linux
DevOps
+7

osapiens
Municipality of Madrid, Spain
Intermediate
Azure
Continuous Integration

Tenth Revolution
Barcelona, Spain
Intermediate
API
PySpark
Amazon Web Services (AWS)

Crossing Hurdles
Municipality of Madrid, Spain
Remote
Python
Machine Learning

mund consulting AG
Berlin, Germany
Intermediate
ETL
Spark
Python
Gitlab
Confluence
+2


Circle8
Utrecht, Netherlands
Intermediate
DevOps
Gitlab
Openshift
Continuous Integration