Update grammar in DAG docs

This commit is contained in:
Zeff Morgan 2019-08-20 12:54:52 -04:00
parent 011c5cebfc
commit ca334da924
2 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@ as quickly as possible.
Relationships are defined between jobs using the [`needs:` keyword](../yaml/README.md#needs).
Note that `needs:` also works with the [parallel](../yaml/README.md#parallel) keyword,
giving your powerful options for parallelization within your pipeline.
giving you powerful options for parallelization within your pipeline.
## Limitations

View File

@ -1734,8 +1734,8 @@ This example creates three paths of execution:
in the first stage (see [gitlab-ce#65504](https://gitlab.com/gitlab-org/gitlab-ce/issues/65504)).
1. If `needs:` refers to a job that is marked as `parallel:`.
the current job will depend on all parallel jobs created.
1. `needs:` is similar to `dependencies:` in that needs to use jobs from
prior stages, this means that it is impossible to create circular
1. `needs:` is similar to `dependencies:` in that it needs to use jobs from
prior stages, meaning it is impossible to create circular
dependencies or depend on jobs in the current stage (see [gitlab-ce#65505](https://gitlab.com/gitlab-org/gitlab-ce/issues/65505)).
1. Related to the above, stages must be explicitly defined for all jobs
that have the keyword `needs:` or are referred to by one.