Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/runtime/env.rb')
-rw-r--r--qa/qa/runtime/env.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/qa/qa/runtime/env.rb b/qa/qa/runtime/env.rb
index e4537009406..0db5314de4d 100644
--- a/qa/qa/runtime/env.rb
+++ b/qa/qa/runtime/env.rb
@@ -25,6 +25,10 @@ module QA
SUPPORTED_FEATURES
end
+ def gitlab_url
+ @gitlab_url ||= ENV["QA_GITLAB_URL"] || "http://127.0.0.1:3000" # default to GDK
+ end
+
def additional_repository_storage
ENV['QA_ADDITIONAL_REPOSITORY_STORAGE']
end
@@ -38,7 +42,7 @@ module QA
end
def interception_enabled?
- enabled?(ENV['INTERCEPT_REQUESTS'], default: true)
+ enabled?(ENV['QA_INTERCEPT_REQUESTS'], default: false)
end
def can_intercept?