diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-14 03:09:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-14 03:09:11 +0300 |
commit | 6143ef2fb6772c50fde4e738412c5d511f9dcf15 (patch) | |
tree | 5e55ef79bbf1543619e61cfd7e7ef1314132cc47 /qa/Rakefile | |
parent | 87731a5333142f369829341116ab2d4445e47d66 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa/Rakefile')
-rw-r--r-- | qa/Rakefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/qa/Rakefile b/qa/Rakefile index 0a040f0aee7..489f3b9e12b 100644 --- a/qa/Rakefile +++ b/qa/Rakefile @@ -1,4 +1,8 @@ # frozen_string_literal: true +# rubocop:disable Rails/RakeEnvironment + +require 'webdrivers' +load 'webdrivers/Rakefile' require_relative 'qa/tools/revoke_all_personal_access_tokens' require_relative 'qa/tools/delete_subgroups' @@ -34,7 +38,9 @@ task :run_artillery_load_tests do urls_file = ENV['URLS_FILE_PATH'] || 'urls.yml' unless File.exist?(urls_file) - raise "\n#{urls_file} file is missing. Please provide correct URLS_FILE_PATH or all of HOST_URL, LARGE_ISSUE_URL and LARGE_MR_URL\n\n" + raise(<<~ERR) + #{urls_file} file is missing. Please provide correct URLS_FILE_PATH or all of HOST_URL, LARGE_ISSUE_URL and LARGE_MR_URL\n + ERR end urls = YAML.safe_load(File.read(urls_file)) @@ -59,3 +65,4 @@ desc "Deletes projects directly under the provided group" task :delete_projects do QA::Tools::DeleteProjects.new.run end +# rubocop:enable Rails/RakeEnvironment |