diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fda9773437333a181a66936e69aaa2d18ee21aad..79d760ffa8ae9af10971bfeee4251f9ed0156c0d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,15 +7,22 @@ stages: .bootstrap-axii: cache: - key: general-apt-cache - paths: - - .apt + - key: general-pip-cache + paths: + - .pip + - key: general-apt-cache + paths: + - .apt before_script: - export LC_ALL=C.UTF-8 - export LANG=C.UTF-8 - source /etc/os-release + # Pip cache configuration. + - export PIP_CACHE_DIR="$CI_PROJECT_DIR/.pip" + - mkdir -p ".pip" || true + # Apt cache configuration. - rm -rf /var/cache/apt/archives || true - rm -f /etc/apt/apt.conf.d/docker-clean # Remove docker-clean script to avoid cache deletion.