diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-20 09:55:51 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-20 09:55:51 +0000 |
commit | e8d2c2579383897a1dd7f9debd359abe8ae8373d (patch) | |
tree | c42be41678c2586d49a75cabce89322082698334 /scripts/static-analysis | |
parent | fc845b37ec3a90aaa719975f607740c22ba6a113 (diff) | |
download | gitlab-ce-e8d2c2579383897a1dd7f9debd359abe8ae8373d.tar.gz |
Add latest changes from gitlab-org/gitlab@14-1-stable-eev14.1.0-rc42
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, |