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
67bdda12
Commit
67bdda12
authored
Mar 17, 2020
by
Marius Bobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove cross_project_need_artifacts feature flag
parent
5c32fdaf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
9 deletions
+0
-9
ee/app/models/ee/ci/build.rb
ee/app/models/ee/ci/build.rb
+0
-1
ee/spec/models/ci/build_spec.rb
ee/spec/models/ci/build_spec.rb
+0
-8
No files found.
ee/app/models/ee/ci/build.rb
View file @
67bdda12
...
...
@@ -122,7 +122,6 @@ module EE
override
:cross_dependencies
def
cross_dependencies
return
[]
unless
user_id
return
[]
unless
::
Feature
.
enabled?
(
:cross_project_need_artifacts
,
project
,
default_enabled:
true
)
return
[]
unless
project
.
feature_available?
(
:cross_project_pipelines
)
cross_dependencies_relationship
...
...
ee/spec/models/ci/build_spec.rb
View file @
67bdda12
...
...
@@ -551,14 +551,6 @@ describe Ci::Build do
it
{
is_expected
.
to
be_empty
}
end
context
'when feature is disabled'
do
before
do
stub_feature_flags
(
cross_project_need_artifacts:
false
)
end
it
{
is_expected
.
to
be_empty
}
end
end
context
'without permissions to other_project'
do
...
...
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