summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-09-11 16:35:08 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-09-11 16:35:08 +0200
commit068a0a18486d831ff5d1fbd62045665fb2053132 (patch)
tree66a1032986afd36a5d1734a1da5b3662bbe41d5f
parent9b0127e0cf28131aa70d2dfc74ced0602e45671f (diff)
downloadgitlab-ce-068a0a18486d831ff5d1fbd62045665fb2053132.tar.gz
Make it more clear that `extends` behaves like inheritance
-rw-r--r--doc/ci/yaml/README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md
index 72b90ac6334..aca909c169e 100644
--- a/doc/ci/yaml/README.md
+++ b/doc/ci/yaml/README.md
@@ -88,6 +88,8 @@ more flexible and readable.
```yaml
.tests:
+ script: rake test
+ stage: test
only:
refs:
- branches
@@ -95,7 +97,6 @@ more flexible and readable.
rspec:
extends: .tests
script: rake rspec
- stage: test
only:
variables:
- $RSPEC