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
0616c5a7
Commit
0616c5a7
authored
Jul 19, 2021
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't exclude 'Gitlab/MarkUsedFeatureFlags' cop
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
024ced02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
12 deletions
+10
-12
scripts/static-analysis
scripts/static-analysis
+10
-12
No files found.
scripts/static-analysis
View file @
0616c5a7
...
@@ -20,22 +20,20 @@ class StaticAnalysis
...
@@ -20,22 +20,20 @@ class StaticAnalysis
# contain values that a FOSS installation won't find. To work
# contain values that a FOSS installation won't find. To work
# around this we will only enable this task on EE installations.
# around this we will only enable this task on EE installations.
TASKS_BY_DURATIONS_SECONDS_DESC
=
{
TASKS_BY_DURATIONS_SECONDS_DESC
=
{
%w[bin/rake lint:haml]
=>
488
,
%w[bin/rake lint:haml]
=>
800
,
(
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
# duration of 300 to lower the likelihood that it will run in the same job as another long task...
%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,
# 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.
# the cache would prevent these files from being created.
%w[bundle exec rubocop --only Gitlab/MarkUsedFeatureFlags --cache false]
=>
600
,
%w[bundle exec rubocop --only Gitlab/MarkUsedFeatureFlags --cache false]
=>
600
,
%w[yarn run lint:eslint:all]
=>
264
,
(
Gitlab
.
ee?
?
%w[bin/rake gettext:updated_check]
:
nil
)
=>
360
,
%w[yarn run lint:prettier]
=>
134
,
%w[yarn run lint:eslint:all]
=>
312
,
%w[bin/rake gettext:lint]
=>
81
,
%w[yarn run lint:prettier]
=>
162
,
%w[bundle exec license_finder]
=>
49
,
%w[bin/rake gettext:lint]
=>
65
,
%w[bin/rake lint:static_verification]
=>
24
,
%w[bundle exec license_finder]
=>
61
,
%w[bin/rake gitlab:sidekiq:all_queues_yml:check]
=>
12
,
%w[bin/rake lint:static_verification]
=>
45
,
%w[bundle exec rubocop --parallel]
=>
40
,
%w[bin/rake config_lint]
=>
26
,
%w[bin/rake gitlab:sidekiq:all_queues_yml:check]
=>
15
,
(
Gitlab
.
ee?
?
%w[bin/rake gitlab:sidekiq:sidekiq_queues_yml:check]
:
nil
)
=>
11
,
(
Gitlab
.
ee?
?
%w[bin/rake gitlab:sidekiq:sidekiq_queues_yml:check]
:
nil
)
=>
11
,
%w[bin/rake config_lint]
=>
11
,
%w[yarn run internal:stylelint]
=>
8
,
%w[yarn run internal:stylelint]
=>
8
,
%w[scripts/lint-conflicts.sh]
=>
1
,
%w[scripts/lint-conflicts.sh]
=>
1
,
%w[yarn run block-dependencies]
=>
1
,
%w[yarn run block-dependencies]
=>
1
,
...
...
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