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 @Oracle
  • GitLab Hero in the MENA region.
  • Minamilist, Solo traveler, Nature Lover …
  • weCanTalkAbout([🐧, 🐳, 🦊, 🌲 …])
  • More about me here !

What is Gitlab ?

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

Gitlab Open *

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! 🤗