Commit c2c72f44 authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'docs-hchouraria-needs-same-stage-production-notes' into 'master'

Docs: Clarify production advice for needs feature

See merge request gitlab-org/gitlab!67811
parents 3ebdfacf a2c9b63c
...@@ -1530,13 +1530,16 @@ production: ...@@ -1530,13 +1530,16 @@ production:
#### Requirements and limitations #### Requirements and limitations
- In [GitLab 14.1 and later](https://gitlab.com/gitlab-org/gitlab/-/issues/30632) - In [GitLab 14.1 and later](https://gitlab.com/gitlab-org/gitlab/-/issues/30632) you
you can refer to jobs in the same stage as the job you are configuring. This feature can refer to jobs in the same stage as the job you are configuring. This feature is:
is [Deployed behind a feature flag](../../user/feature_flags.md), disabled by default.
- Disabled on GitLab.com. - [Deployed behind a feature flag](../../user/feature_flags.md), disabled by default.
- Not recommended for production use. - Disabled on GitLab.com.
- For GitLab self-managed instances, GitLab adminsitrators - Not recommended for production use.
can choose to [disable it](#enable-or-disable-needs-for-jobs-in-the-same-stage)
For GitLab self-managed instances, GitLab administrators can choose to
[enable it](#enable-or-disable-needs-for-jobs-in-the-same-stage).
- In GitLab 14.0 and older, you can only refer to jobs in earlier stages. - In GitLab 14.0 and older, you can only refer to jobs in earlier stages.
- In GitLab 13.9 and older, if `needs:` refers to a job that might not be added to - In GitLab 13.9 and older, if `needs:` refers to a job that might not be added to
a pipeline because of `only`, `except`, or `rules`, the pipeline might fail to create. a pipeline because of `only`, `except`, or `rules`, the pipeline might fail to create.
......
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