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
a8e96759
Commit
a8e96759
authored
Sep 13, 2021
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use a different project path for license_finder for JH
parent
b4f37eb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
scripts/static-analysis
scripts/static-analysis
+11
-1
No files found.
scripts/static-analysis
View file @
a8e96759
...
...
@@ -27,6 +27,16 @@ class StaticAnalysis
end
end
def
self
.
project_path
project_root
=
File
.
expand_path
(
'..'
,
__dir__
)
if
Gitlab
.
jh?
"
#{
project_root
}
/jh"
else
project_root
end
end
# `gettext:updated_check` and `gitlab:sidekiq:sidekiq_queues_yml:check` will fail on FOSS installations
# (e.g. gitlab-org/gitlab-foss) since they test against a single
# file that is generated by an EE installation, which can
...
...
@@ -42,7 +52,7 @@ class StaticAnalysis
Task
.
new
(
%w[bundle exec rubocop --parallel]
,
60
),
Task
.
new
(
%w[yarn run lint:prettier]
,
160
),
Task
.
new
(
%w[bin/rake gettext:lint]
,
85
),
Task
.
new
(
%
w[bundle exec license_finder
]
,
20
),
Task
.
new
(
%
W[bundle exec license_finder --decisions-file config/dependency_decisions.yml --project-path
#{
project_path
}
]
,
20
),
Task
.
new
(
%w[bin/rake lint:static_verification]
,
35
),
Task
.
new
(
%w[bin/rake config_lint]
,
10
),
Task
.
new
(
%w[bin/rake gitlab:sidekiq:all_queues_yml:check]
,
15
),
...
...
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