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>2020-02-10 06:09:00 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-10 06:09:00 +0300
commitac8913be389e870c3d2bc556a38ae65cd59389af (patch)
tree7269e26d26341827d8f656d26ead6117053b4382
parent3edbef8ae567f0dc2548b09f85172ee2ac99b3b9 (diff)
Add latest changes from gitlab-org/gitlab@master
-rw-r--r--doc/.linting/vale/styles/gitlab/LatinTerms.yml39
-rw-r--r--doc/ci/yaml/README.md3
2 files changed, 41 insertions, 1 deletions
diff --git a/doc/.linting/vale/styles/gitlab/LatinTerms.yml b/doc/.linting/vale/styles/gitlab/LatinTerms.yml
new file mode 100644
index 00000000000..082b56147a4
--- /dev/null
+++ b/doc/.linting/vale/styles/gitlab/LatinTerms.yml
@@ -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
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md
index 9d4401986b5..ccc2a1893db 100644
--- a/doc/ci/yaml/README.md
+++ b/doc/ci/yaml/README.md
@@ -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`.