Skip to content

Commit

Permalink
Merge pull request #549 from plone/gitlab-caches
Browse files Browse the repository at this point in the history
Fix the GitLab CI cache for pip.
  • Loading branch information
thet committed Mar 23, 2023
2 parents 428b03c + 717f0aa commit b5e1ef9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Changelog
6.2.6 (unreleased)
------------------

- Fix the GitLab CI cache for pip.
[thet]

- mockup_pattern: Fix .prettierignore file to not exclude files within the /resources directory.
[thet]

Expand Down
2 changes: 1 addition & 1 deletion bobtemplates/plone/addon/.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ image: python:3.7-buster
# Change pip's cache directory to be inside the project directory since we can
# only cache local items.
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache"
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"

# Pip's cache doesn't store the python packages
# https://pip.pypa.io/en/stable/reference/pip_install/#caching
Expand Down

0 comments on commit b5e1ef9

Please sign in to comment.