Set PIP_CACHE_DIR for job using pip

This commit is contained in:
Cédric Krier
2024-05-03 00:19:28 +02:00
parent 1f74c18430
commit 4a6e8e5823
+7
View File
@@ -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