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
fbb64c30
Commit
fbb64c30
authored
Jun 14, 2021
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run the Gitlab/MarkUsedFeatureFlags cop alone without cache
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
a7b4e7c9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
scripts/static-analysis
scripts/static-analysis
+4
-1
No files found.
scripts/static-analysis
View file @
fbb64c30
...
@@ -24,7 +24,10 @@ class StaticAnalysis
...
@@ -24,7 +24,10 @@ class StaticAnalysis
(
Gitlab
.
ee?
?
%w[bin/rake gettext:updated_check]
:
nil
)
=>
410
,
(
Gitlab
.
ee?
?
%w[bin/rake gettext:updated_check]
:
nil
)
=>
410
,
# Most of the time, RuboCop finishes in 30 seconds, but sometimes it can take around 1200 seconds so we set a
# Most of the time, RuboCop finishes in 30 seconds, but sometimes it can take around 1200 seconds so we set a
# duration of 300 to lower the likelihood that it will run in the same job as another long task...
# duration of 300 to lower the likelihood that it will run in the same job as another long task...
%w[bundle exec rubocop --parallel]
=>
300
,
%w[bundle exec rubocop --parallel --except Gitlab/MarkUsedFeatureFlags]
=>
300
,
# We need to disable the cache for this cop since it creates files under tmp/feature_flags/*.used,
# the cache would prevent these files from being created.
%w[bundle exec rubocop --only Gitlab/MarkUsedFeatureFlags --cache false]
=>
600
,
%w[yarn run lint:eslint:all]
=>
264
,
%w[yarn run lint:eslint:all]
=>
264
,
%w[yarn run lint:prettier]
=>
134
,
%w[yarn run lint:prettier]
=>
134
,
%w[bin/rake gettext:lint]
=>
81
,
%w[bin/rake gettext:lint]
=>
81
,
...
...
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