Commit e8648241 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix extended CI/CD configuration docs for `extends`

parent 2e73c248
...@@ -90,7 +90,6 @@ more flexible and readable. ...@@ -90,7 +90,6 @@ more flexible and readable.
.tests: .tests:
only: only:
refs: refs:
- master
- branches - branches
rspec: rspec:
...@@ -113,7 +112,6 @@ rspec: ...@@ -113,7 +112,6 @@ rspec:
stage: test stage: test
only: only:
refs: refs:
- master
- branches - branches
variables: variables:
- $RSPEC - $RSPEC
...@@ -130,22 +128,20 @@ use more than three levels of inheritance. Maximum nesting level supported is ...@@ -130,22 +128,20 @@ use more than three levels of inheritance. Maximum nesting level supported is
```yaml ```yaml
.tests: .tests:
only: only:
refs: - pushes
- master
- branches
.rspec: .rspec:
extends: .tests extends: .tests
script: rake rspec script: rake rspec
rspec 1: rspec 1:
variables variables:
RSPEC_SUITE: 1 RSPEC_SUITE: '1'
extends: .rspec extends: .rspec
rspec 2: rspec 2:
variables variables:
RSPEC_SUITE: 2 RSPEC_SUITE: '2'
extends: .rspec extends: .rspec
spinach: spinach:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment