Commit 8cf171ed authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix(cache): always keep cache

parent 924b55fd
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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: