From 4a6e8e582377cc44a6981619a9a5397d6149e99b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 3 May 2024 00:19:28 +0200 Subject: [PATCH] Set PIP_CACHE_DIR for job using pip --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ff3f3f18ee..ea4d3597ec 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -53,6 +53,7 @@ documentation: variables: DOC_BASE_URL: ${CI_PROJECT_DIR}/docs DOC_DIR: doc + PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" cache: paths: - .cache/pip/http @@ -150,6 +151,8 @@ check-ci-modules: check-cookiecutter-module: extends: .check + variables: + PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" cache: paths: - .cache/pip/http @@ -165,6 +168,8 @@ check-cookiecutter-module: check-template-modules: extends: .check + variables: + PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" cache: paths: - .cache/pip/http @@ -270,6 +275,8 @@ check-doc-trytond: check-trytond-rng: extends: .check + variables: + PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" cache: paths: - .cache/pip/http