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
00:03 MIN
Moving beyond tools to architect CI/CD processes
Plan CI/CD on the Enterprise level!
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
13:26 MIN
Applying principles for scalable and maintainable pipelines
GitLab CI pipelines for a whole company
14:32 MIN
Using AI to optimize CI/CD pipelines
Navigating the AI Wave in DevOps
02:45 MIN
Eliminating waste in code, infrastructure, and CI/CD
11 Tips for Greener Code
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
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
Plan CI/CD on the Enterprise level!
Pawel Piwosz
GitLab CI pipelines for a whole company
Martin Beránek
GitOps for the people
Lian Li
Implementing continuous delivery in a data processing pipeline
Álvaro Martín Lozano
Unveiling the Dark Side: Navigating the Pitfalls of Digital Ambitions
Johannes Hansen
Related Articles
View all articles



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


DevOps Engineer Continuous Integration and Deployment (m/w/d) | PLSCNS
Atruvia AG
Berlin, Germany
Intermediate
Senior
GIT
Jenkins

DevOps Architect Pipeline / Dev Container / OpenShift
Siemens AG
Berlin, Germany
GIT
CMake
Linux
DevOps
Gitlab
+5





Remote: DevOps / CI/CD Engineer - Linux, Kubernetes & Automation
APRIORI - business solutions AG
€85K
GIT
JIRA
Linux
DevOps
+5
