Let’s make faster Gitlab CI/CD pipelines

Agenda

  1. Introduction
  2. Gitlab walkthrough
  3. Let’s make faster Gitlab CI/CD pipelines
  4. QA

Introduction

Who am I ?

  • Mohammed Daoudi aka @Iduoad
  • Teaholic Devops Engineer @Nimbleways
  • weCanTalkAbout([๐Ÿง, ๐Ÿณ, ๐ŸฆŠ, …])
  • More about me here !

What is Gitlab ?

  • Gitlab is a code hosting platform.
  • Gitlab is a devops platform.

Gitlab Open *

  • Gitlab is open source
  • Gitlab is openly developed on Gitlab
  • Open Culture (handbook, remote-manifesto, … )

Gitlab Open *

  • Gitlab Open Community (community heros, meetups …)
  • Gitlab is developed by Gitlab in Gitlab

Gitlab Walkthrough

walkthrough

2 mins for concepts!

Fast

Pipelines

pipeline

Jobs

jobs

Let’s make faster Gitlab CI/CD pipelines

Build once and for all (DRY)

Cache as much as you can !

Use cache policies, always !

FASTZIP it !

Cache more things with multiple caches

Pay Attention !! Tradeoffs !!

Anchors for one last refactor !!

Use smaller images !!

Don’t use Docker ๐Ÿ˜ฌ!!

Another type of cache !

A lot more!

  • Flow control
  • DAG pipelines
  • Interruptible jobs
  • Self-hosted runners
  • Design your pipeline well
  • Better Dockerfiles

Thank you

Let’s be friends! ๐Ÿค—