Skip to content
Snippets Groups Projects
Commit 8cf171ed authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix(cache): always keep cache

parent 924b55fd
No related branches found
No related tags found
No related merge requests found
......@@ -812,15 +812,15 @@ stages:
- name: "$TBC_TRACKING_IMAGE"
command: ["--service", "python", "6.10.0"]
variables:
# most Python tools honour XDG specs
# set local cache dir; most Python tools honour XDG specs
XDG_CACHE_HOME: "$CI_PROJECT_DIR/.cache"
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
# Poetry support: force virtualenv not in project dir & use local cache dir
POETRY_CACHE_DIR: "$CI_PROJECT_DIR/.cache/poetry"
POETRY_VIRTUALENVS_IN_PROJECT: "false"
PIPENV_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pipenv"
POETRY_VIRTUALENVS_IN_PROJECT: "false"
cache:
key: "$CI_COMMIT_REF_SLUG-python"
when: always
paths:
- .cache
before_script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment