~/talk

Optimizing Your CI Pipelines

Talkat PyCon Italia 2023 · 2023-05-25..05-28· [devops-and-delivery]
slides:none on file

A practical playbook for speeding GitLab CI pipelines: use multi-stage Docker builds or push one built image to the registry and pull in subsequent jobs to avoid rebuilding, watch that runner provisioning alone cost ~54 seconds, parallelize tests with pytest-xdist or split across runners to cut wall time from ~6 to ~5 minutes but double minutes billed, use DAGs or child pipelines to avoid unnecessary waits, enable interruptible: true and cache policies to stop wasted work and speed installs.

AI-written summary · about

  1. 0:00Introduction
  2. 4:50Docker
  3. 11:58Directed Acyclic Graph
  4. 14:14Downstream Pipelines
  5. 16:13Parallelizing Tests
  6. 17:51Interrupt Pipelines
  7. 19:12Random Tips and Tricks
  8. 22:37Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.