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
adf5ea37
Commit
adf5ea37
authored
Jan 08, 2020
by
Alexander Tanayno
Committed by
Marcel Amirault
Jan 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds section describing ci_dag_limit_needs usage
parent
56098e88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+17
-0
No files found.
doc/ci/yaml/README.md
View file @
adf5ea37
...
@@ -2313,6 +2313,23 @@ This example creates three paths of execution:
...
@@ -2313,6 +2313,23 @@ This example creates three paths of execution:
-
Related to the above, stages must be explicitly defined for all jobs
-
Related to the above, stages must be explicitly defined for all jobs
that have the keyword
`needs:`
or are referred to by one.
that have the keyword
`needs:`
or are referred to by one.
##### Changing the `needs:` job limit
The maximum number of jobs that can be defined within
`needs:`
defaults to 10, but
can be changed to 50 via a feature flag. To change the limit to 50,
[
start a Rails console session
](
https://docs.gitlab.com/omnibus/maintenance/#starting-a-rails-console-session
)
and run:
```
ruby
Feature
::
disable
(
:ci_dag_limit_needs
)
```
To set it back to 10, run the opposite command:
```
ruby
Feature
::
enable
(
:ci_dag_limit_needs
)
```
#### Artifact downloads with `needs`
#### Artifact downloads with `needs`
> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/14311) in GitLab v12.6.
> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/14311) in GitLab v12.6.
...
...
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