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
a6a2655a
Commit
a6a2655a
authored
Jun 24, 2021
by
Mark Florian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correctly categorise frontend_integration files
parent
f6512ad6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
19 deletions
+21
-19
spec/tooling/danger/project_helper_spec.rb
spec/tooling/danger/project_helper_spec.rb
+20
-18
tooling/danger/project_helper.rb
tooling/danger/project_helper.rb
+1
-1
No files found.
spec/tooling/danger/project_helper_spec.rb
View file @
a6a2655a
...
...
@@ -56,24 +56,26 @@ RSpec.describe Tooling::Danger::ProjectHelper do
'ee/doc/foo'
|
[
:unknown
]
'ee/README'
|
[
:unknown
]
'app/assets/foo'
|
[
:frontend
]
'app/views/foo'
|
[
:frontend
]
'public/foo'
|
[
:frontend
]
'scripts/frontend/foo'
|
[
:frontend
]
'spec/javascripts/foo'
|
[
:frontend
]
'spec/frontend/bar'
|
[
:frontend
]
'vendor/assets/foo'
|
[
:frontend
]
'babel.config.js'
|
[
:frontend
]
'jest.config.js'
|
[
:frontend
]
'package.json'
|
[
:frontend
]
'yarn.lock'
|
[
:frontend
]
'config/foo.js'
|
[
:frontend
]
'config/deep/foo.js'
|
[
:frontend
]
'ee/app/assets/foo'
|
[
:frontend
]
'ee/app/views/foo'
|
[
:frontend
]
'ee/spec/javascripts/foo'
|
[
:frontend
]
'ee/spec/frontend/bar'
|
[
:frontend
]
'app/assets/foo'
|
[
:frontend
]
'app/views/foo'
|
[
:frontend
]
'public/foo'
|
[
:frontend
]
'scripts/frontend/foo'
|
[
:frontend
]
'spec/javascripts/foo'
|
[
:frontend
]
'spec/frontend/bar'
|
[
:frontend
]
'spec/frontend_integration/bar'
|
[
:frontend
]
'vendor/assets/foo'
|
[
:frontend
]
'babel.config.js'
|
[
:frontend
]
'jest.config.js'
|
[
:frontend
]
'package.json'
|
[
:frontend
]
'yarn.lock'
|
[
:frontend
]
'config/foo.js'
|
[
:frontend
]
'config/deep/foo.js'
|
[
:frontend
]
'ee/app/assets/foo'
|
[
:frontend
]
'ee/app/views/foo'
|
[
:frontend
]
'ee/spec/javascripts/foo'
|
[
:frontend
]
'ee/spec/frontend/bar'
|
[
:frontend
]
'ee/spec/frontend_integration/bar'
|
[
:frontend
]
'.gitlab/ci/frontend.gitlab-ci.yml'
|
%i[frontend engineering_productivity]
...
...
tooling/danger/project_helper.rb
View file @
a6a2655a
...
...
@@ -49,7 +49,7 @@ module Tooling
)
\z
}x
=>
[
:frontend
,
:product_intelligence
],
%r{
\A
(ee/)?app/(assets|views)/}
=>
:frontend
,
%r{
\A
(ee/)?public/}
=>
:frontend
,
%r{
\A
(ee/)?spec/(javascripts|frontend)/}
=>
:frontend
,
%r{
\A
(ee/)?spec/(javascripts|frontend
|frontend_integration
)/}
=>
:frontend
,
%r{
\A
(ee/)?vendor/assets/}
=>
:frontend
,
%r{
\A
(ee/)?scripts/frontend/}
=>
:frontend
,
%r{(
\A
|/)(
...
...
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