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
414c44fd
Commit
414c44fd
authored
May 07, 2020
by
Pedro Pombeiro
Committed by
Suzanne Selhorn
May 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 'cache:paths' documentation
Reflects new globbing capabilities in upcoming GitLab Runner release
parent
ed471f6f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+6
-1
No files found.
doc/ci/yaml/README.md
View file @
414c44fd
...
...
@@ -2240,7 +2240,12 @@ globally and all jobs will use that definition.
Use the
`paths`
directive to choose which files or directories will be cached. Paths
are relative to the project directory (
`$CI_PROJECT_DIR`
) and can't directly link outside it.
Wildcards can be used that follow the
[
glob
](
https://en.wikipedia.org/wiki/Glob_(programming
)
)
patterns and
[
`filepath.Match`
](
https://golang.org/pkg/path/filepath/#Match
)
.
patterns and:
-
In
[
GitLab Runner 13.0
](
https://gitlab.com/gitlab-org/gitlab-runner/-/issues/2620
)
and later,
[
`doublestar.Glob`
](
https://pkg.go.dev/github.com/bmatcuk/doublestar@v1.2.2?tab=doc#Match
)
.
-
In GitLab Runner 12.10 and earlier,
[
`filepath.Match`
](
https://pkg.go.dev/path/filepath/#Match
)
.
Cache all files in
`binaries`
that end in
`.apk`
and the
`.config`
file:
...
...
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