Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-02-24 06:07:49 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-02-24 06:07:49 +0300
commit201a883bdfaf5dcb73142139cec70c10134f5b2c (patch)
treeb1c70fa61d6f92fdccc88d6deaae4fa201481869 /doc/ci/caching
parent0abfd0b478192436e7328469320923a04885a3b7 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci/caching')
-rw-r--r--doc/ci/caching/index.md15
1 files changed, 8 insertions, 7 deletions
diff --git a/doc/ci/caching/index.md b/doc/ci/caching/index.md
index c0e0a1cbff3..d7c5b089116 100644
--- a/doc/ci/caching/index.md
+++ b/doc/ci/caching/index.md
@@ -139,13 +139,14 @@ You can override cache settings without overwriting the global cache by using
`policy` for one job:
```yaml
-cache: &global_cache
- key: $CI_COMMIT_REF_SLUG
- paths:
- - node_modules/
- - public/
- - vendor/
- policy: pull-push
+default:
+ cache: &global_cache
+ key: $CI_COMMIT_REF_SLUG
+ paths:
+ - node_modules/
+ - public/
+ - vendor/
+ policy: pull-push
job:
cache: