From ae970e9bb10aa5154e0733a8b1a4f3a7f90d06ce 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 (grafted from 76d925f088f8e619c6aae411c3385bf8820e2462) --HG-- branch : 7.0 --- .gitlab-ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ea1dbc295c..1b5ac48da1 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 @@ -148,6 +149,8 @@ check-ci-modules: check-cookiecutter-module: extends: .check + variables: + PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" cache: paths: - .cache/pip/http @@ -163,6 +166,8 @@ check-cookiecutter-module: check-template-modules: extends: .check + variables: + PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" cache: paths: - .cache/pip/http @@ -268,6 +273,8 @@ check-doc-trytond: check-trytond-rng: extends: .check + variables: + PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" cache: paths: - .cache/pip/http