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
0049f328
Commit
0049f328
authored
Oct 26, 2021
by
Dylan Griffith
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'more_scopes_allowlist' into 'master'
More scopes allowlist See merge request gitlab-org/gitlab!73112
parents
6f343281
4ced63e8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
app/finders/ci/pipelines_for_merge_request_finder.rb
app/finders/ci/pipelines_for_merge_request_finder.rb
+2
-0
ee/app/models/ee/project.rb
ee/app/models/ee/project.rb
+1
-0
spec/support/database/cross-join-allowlist.yml
spec/support/database/cross-join-allowlist.yml
+0
-4
No files found.
app/finders/ci/pipelines_for_merge_request_finder.rb
View file @
0049f328
...
...
@@ -42,6 +42,8 @@ module Ci
triggered_for_branch
.
for_sha
(
commit_shas
)
end
pipelines
=
pipelines
.
allow_cross_joins_across_databases
(
url:
'https://gitlab.com/gitlab-org/gitlab/-/issues/336891'
)
sort
(
pipelines
)
end
end
...
...
ee/app/models/ee/project.rb
View file @
0049f328
...
...
@@ -124,6 +124,7 @@ module EE
scope
:with_code_coverage
,
->
do
joins
(
:daily_build_group_report_results
).
merge
(
::
Ci
::
DailyBuildGroupReportResult
.
with_coverage
.
with_default_branch
).
group
(
:id
)
.
allow_cross_joins_across_databases
(
url:
'https://gitlab.com/gitlab-org/gitlab/-/issues/339974'
)
end
scope
:with_coverage_feature_usage
,
->
(
default_branch:
nil
)
do
...
...
spec/support/database/cross-join-allowlist.yml
View file @
0049f328
-
"
./ee/spec/finders/ee/namespaces/projects_finder_spec.rb"
-
"
./ee/spec/graphql/ee/resolvers/namespace_projects_resolver_spec.rb"
-
"
./ee/spec/models/project_spec.rb"
-
"
./ee/spec/requests/api/ci/minutes_spec.rb"
-
"
./ee/spec/services/ci/minutes/additional_packs/change_namespace_service_spec.rb"
-
"
./ee/spec/services/ci/minutes/additional_packs/create_service_spec.rb"
...
...
@@ -8,7 +5,6 @@
-
"
./spec/features/groups/packages_spec.rb"
-
"
./spec/features/projects/infrastructure_registry_spec.rb"
-
"
./spec/features/projects/packages_spec.rb"
-
"
./spec/finders/ci/pipelines_for_merge_request_finder_spec.rb"
-
"
./spec/lib/api/entities/package_spec.rb"
-
"
./spec/lib/gitlab/background_migration/copy_ci_builds_columns_to_security_scans_spec.rb"
-
"
./spec/lib/gitlab/background_migration/migrate_pages_metadata_spec.rb"
...
...
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