Commit 2b712aef authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'docs-32922-invalid-needs-example' into 'master'

Fix docs needs example and entry error msg

See merge request gitlab-org/gitlab!64157
parents cde8df49 a1114be4
...@@ -1551,32 +1551,40 @@ The following example creates four paths of execution: ...@@ -1551,32 +1551,40 @@ The following example creates four paths of execution:
```yaml ```yaml
linux:build: linux:build:
stage: build stage: build
script: echo "Building linux..."
mac:build: mac:build:
stage: build stage: build
script: echo "Building mac..."
lint: lint:
stage: test stage: test
needs: [] needs: []
script: echo "Linting..."
linux:rspec: linux:rspec:
stage: test stage: test
needs: ["linux:build"] needs: ["linux:build"]
script: echo "Running rspec on linux..."
linux:rubocop: linux:rubocop:
stage: test stage: test
needs: ["linux:build"] needs: ["linux:build"]
script: echo "Running rubocop on linux..."
mac:rspec: mac:rspec:
stage: test stage: test
needs: ["mac:build"] needs: ["mac:build"]
script: echo "Running rspec on mac..."
mac:rubocop: mac:rubocop:
stage: test stage: test
needs: ["mac:build"] needs: ["mac:build"]
script: echo "Running rubocop on mac..."
production: production:
stage: deploy stage: deploy
script: echo "Running production..."
``` ```
#### Requirements and limitations #### Requirements and limitations
......
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