diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-22 12:07:12 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-22 12:07:12 +0300 |
commit | c76417338ee60071aa41cf292e2c189bd5aa839e (patch) | |
tree | 57b80a2cc5740b3a724f47fa881cd75b40679ef5 /doc/ci/yaml | |
parent | be3e27e39dd5c1a72fd4c296858322748db53a26 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci/yaml')
-rw-r--r-- | doc/ci/yaml/README.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md index bc38b5d5c7f..2aa4bd6e05c 100644 --- a/doc/ci/yaml/README.md +++ b/doc/ci/yaml/README.md @@ -1551,32 +1551,40 @@ The following example creates four paths of execution: ```yaml linux:build: stage: build + script: echo "Building linux..." mac:build: stage: build + script: echo "Building mac..." lint: stage: test needs: [] + script: echo "Linting..." linux:rspec: stage: test needs: ["linux:build"] + script: echo "Running rspec on linux..." linux:rubocop: stage: test needs: ["linux:build"] + script: echo "Running rubocop on linux..." mac:rspec: stage: test needs: ["mac:build"] + script: echo "Running rspec on mac..." mac:rubocop: stage: test needs: ["mac:build"] + script: echo "Running rubocop on mac..." production: stage: deploy + script: echo "Running production..." ``` #### Requirements and limitations |