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
4ced63e8
Commit
4ced63e8
authored
Oct 26, 2021
by
Thong Kuah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allowlist a finder method
parent
bbf6ec2d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
app/finders/ci/pipelines_for_merge_request_finder.rb
app/finders/ci/pipelines_for_merge_request_finder.rb
+2
-0
spec/support/database/cross-join-allowlist.yml
spec/support/database/cross-join-allowlist.yml
+0
-1
No files found.
app/finders/ci/pipelines_for_merge_request_finder.rb
View file @
4ced63e8
...
...
@@ -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
...
...
spec/support/database/cross-join-allowlist.yml
View file @
4ced63e8
...
...
@@ -5,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