Skip to content
  • Nicolás Alvarez's avatar
    gitlab-ci: use eatmydata in apt-get · d23422d0
    Nicolás Alvarez authored and Nicolás Alvarez's avatar Nicolás Alvarez committed
    apt-get uses several fsync() calls on each package it installs, and that's
    very slow, especially on non-SSD. eatmydata turns fsync into no-op, which
    makes package installation much faster (it can cause corruption if there's
    power loss or similar, but that doesn't matter in CI where we throw away
    the whole container anyway).
    
    Currently the build_ubuntu_20_04 job in GitLab CI takes 8-9 minutes to
    install dependencies. Using eatmydata it went down to 2 minutes.
    d23422d0
Validating GitLab CI configuration… Learn more