Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
3edbef8ae5
commit
ac8913be38
|
@ -0,0 +1,39 @@
|
|||
---
|
||||
# `extends` indicates the Vale extension point being used.
|
||||
# Full list of styles: https://errata-ai.github.io/vale/styles/
|
||||
extends: substitution
|
||||
|
||||
# Substitution rules can display the matched and suggested strings in the
|
||||
# message shown to the user. The first use of %s prints the suggested option,
|
||||
# and the second use of %s displays what was found in the text.
|
||||
message: Use "%s" instead of "%s," but consider rewriting the sentence.
|
||||
|
||||
# Should a result be flagged as a suggestion, warning, or error?
|
||||
# Results that fall below the MinAlertLevel set in
|
||||
# https://gitlab.com/gitlab-org/gitlab/blob/master/.vale.ini won't be shown.
|
||||
level: warning
|
||||
|
||||
# Should a match be case-insensitive or case-sensitive?
|
||||
# Acceptable values are 'true' or 'false'
|
||||
ignorecase: true
|
||||
|
||||
# Should this rule be limited to a specific scope? If yes, uncomment the line.
|
||||
# Possible scopes: https://errata-ai.github.io/vale/formats/#available-scopes
|
||||
# scope: heading
|
||||
|
||||
# Should this rule ignore normal word boundaries, such as \b ?
|
||||
# Acceptable values are 'true' or 'false'
|
||||
nonword: true
|
||||
|
||||
# What is the source for this rule?
|
||||
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#language
|
||||
|
||||
# The 'swap' section provides a list of values, one per line, in the form of
|
||||
# $bad: $good
|
||||
swap:
|
||||
e\.g\.: for example
|
||||
e\. g\.: for example
|
||||
i\.e\.: that is
|
||||
i\. e\.: that is
|
||||
etc\.: and so on
|
||||
et cetera: and so on
|
|
@ -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
|
||||
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`.
|
||||
|
|
Loading…
Reference in New Issue