Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
12befb2b
Commit
12befb2b
authored
Feb 07, 2020
by
Alejo Carballude
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix cache:key:prefix section format.
parent
4d216218
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+2
-1
No files found.
doc/ci/yaml/README.md
View file @
12befb2b
...
...
@@ -1571,7 +1571,7 @@ allowing you to cache data between different jobs or even different branches.
The
`cache:key`
variable can use any of the
[
predefined variables
](
../variables/README.md
)
, and the default key, if not
set, is just literal
`default`
which means everything is shared between
each
set, is just literal
`default`
which means everything is shared between
all
pipelines and jobs by default, starting from GitLab 9.0.
NOTE:
**Note:**
...
...
@@ -1630,6 +1630,7 @@ use the new cache, instead of rebuilding the dependencies.
##### `cache:key:prefix`
> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/18986) in GitLab v12.5.
The
`prefix`
parameter adds extra functionality to
`key:files`
by allowing the key to
be composed of the given
`prefix`
combined with the SHA computed for
`cache:key:files`
.
For example, adding a
`prefix`
of
`test`
, will cause keys to look like:
`test-feef9576d21ee9b6a32e30c5c79d0a0ceb68d1e5`
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment