Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
85629766
Commit
85629766
authored
Feb 10, 2021
by
Marcel Amirault
Committed by
Marcin Sedlak-Jakubowski
Feb 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add warning about needs: & parallel: clobbering artifacts
Closes
https://gitlab.com/gitlab-org/gitlab/-/issues/296909
parent
e61d55ec
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+4
-2
No files found.
doc/ci/yaml/README.md
View file @
85629766
...
...
@@ -2024,8 +2024,10 @@ This example creates four paths of execution:
-
For GitLab.com, the limit is 50. For more information, see our
[
infrastructure issue
](
https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/7541
)
.
-
For self-managed instances, the limit is: 50. This limit
[
can be changed
](
#changing-the-needs-job-limit
)
.
-
If
`needs:`
refers to a job that is marked as
`parallel:`
.
the current job depends on all parallel jobs being created.
-
If
`needs:`
refers to a job that uses the
[
`parallel`
](
#parallel
)
keyword,
it depends on all jobs created in parallel, not just one job. It also downloads
artifacts from all the parallel jobs by default. If the artifacts have the same
name, they overwrite each other and only the last one downloaded is saved.
-
`needs:`
is similar to
`dependencies:`
in that it must use jobs from prior stages,
meaning it's impossible to create circular dependencies. Depending on jobs in the
current stage is not possible either, but support
[
is planned
](
https://gitlab.com/gitlab-org/gitlab/-/issues/30632
)
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment