Martin Beránek

GitLab CI pipelines for a whole company

Their legacy CI system was a costly, daily puzzle. So they rewrote it with GitLab CI, cutting maintenance down to just eight hours a month.

GitLab CI pipelines for a whole company
#1about 3 minutes

Overcoming the challenges of a legacy Jenkins pipeline

The initial Jenkins setup suffered from an undocumented and unversioned Groovy codebase, leading to high maintenance toil for the operations team.

#2about 4 minutes

Establishing new requirements for a modern CI system

The decision to migrate was driven by high support costs, while retaining successful concepts like monorepos and setting new goals for simplicity and clarity.

#3about 3 minutes

How GitLab CI pipelines use stages, jobs, and DAGs

GitLab CI pipelines are structured with sequential stages and parallel jobs, which can be optimized into a Directed Acyclic Graph (DAG) using the `needs` keyword.

#4about 4 minutes

Applying principles for scalable and maintainable pipelines

Key principles for success include recycling configurations with `include`, documenting complex jobs, assigning clear ownership, and tracking known issues as pitfalls.

#5about 4 minutes

Customizing pipeline runtimes and implementing robust testing

Pipeline execution is customized using variable Docker images, while testing is handled with Docker Compose and dynamic environments are managed for quality assurance.

#6about 3 minutes

Solving performance bottlenecks from data sharing and dependencies

Sharing large artifacts like `node_modules` is slow, so performance is improved by implementing local package caches and runner-level volume mounts.

#7about 3 minutes

Key lessons learned from the CI migration process

Important takeaways include educating developers on best practices, automating dependency updates with Renovate, and carefully managing changes in a shared monorepo.

#8about 4 minutes

A feature wishlist for improving GitLab CI workflows

Future improvements to GitLab CI could include native HashiCorp Vault integration, map support for variables, simpler rule evaluation, and faster artifact sharing.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles
DC
Daniel Cranney
5 GitHub Repos That Help You Ship and Show Your Work
If you’re a regular reader here, you’ll know we absolutely love open source. In particular, we have a soft spot for the small, practical repos, the ones that don’t look like much at first glance, but turn out to be incredibly useful. We’ve rounded up...
5 GitHub Repos That Help You Ship and Show Your Work
DC
Daniel Cranney
Why Attend a Developer Event?
Modern software engineering moves too fast for documentation alone. Attending a world-class event is about shifting from tactical execution to strategic leadership. Skill Diversification: Break out of your specific tech stack to see how the industry...
Why Attend a Developer Event?

From learning to earning

Jobs that call for the skills explored in this talk.

Software Engineer

Code Healers LLC
Hinesville, United States of America

Remote
40-50K
Intermediate
Senior
PHP
.NET
React
+2