diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-17 12:09:53 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-17 12:09:53 +0300 |
commit | 612bb6f624ea7fdf5fd20e3332d543191603db88 (patch) | |
tree | 0540ef31b097382b8fd974cc4c41d1938d8caae4 /scripts/static-analysis | |
parent | af4364040394d0261c8b1c5f78ca60cc1e68e43c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/static-analysis')
-rwxr-xr-x | scripts/static-analysis | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/static-analysis b/scripts/static-analysis index 7aa2fbf1594..fc917f1b975 100755 --- a/scripts/static-analysis +++ b/scripts/static-analysis @@ -24,7 +24,10 @@ class StaticAnalysis (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] => 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:prettier] => 134, %w[bin/rake gettext:lint] => 81, |