diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-22 09:09:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-22 09:09:36 +0300 |
commit | dc90a96501705c4ed40a903e1c463af4e260712f (patch) | |
tree | 5ebf5fd6686704b7569c33c8ad1ae735c1ab4cf6 /doc/ci/caching | |
parent | a25809b2e5274fcd3251c79171cf1bb7d35f34b3 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci/caching')
-rw-r--r-- | doc/ci/caching/index.md | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/doc/ci/caching/index.md b/doc/ci/caching/index.md index 88d59b1f223..07bda2baadf 100644 --- a/doc/ci/caching/index.md +++ b/doc/ci/caching/index.md @@ -301,8 +301,7 @@ test: If your project uses [pip](https://pip.pypa.io/en/stable/) to install Python dependencies, the following example defines `cache` globally so that -all jobs inherit it. Python libraries are installed in a virtual environment under `venv/`. -pip's cache is defined under `.cache/pip/` and both are cached per-branch: +all jobs inherit it. pip's cache is defined under `.cache/pip/` and is cached per-branch: ```yaml # @@ -317,13 +316,9 @@ variables: # Pip's cache doesn't store the python packages # https://pip.pypa.io/en/stable/reference/pip_install/#caching -# -# If you want to also cache the installed packages, you have to install -# them in a virtualenv and cache it as well. cache: paths: - .cache/pip - - venv/ before_script: - python -V # Print out python version for debugging |