summaryrefslogtreecommitdiff
path: root/qa/qa/runtime/env.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/runtime/env.rb')
-rw-r--r--qa/qa/runtime/env.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/qa/qa/runtime/env.rb b/qa/qa/runtime/env.rb
index 804ebf27851..cbfce95d409 100644
--- a/qa/qa/runtime/env.rb
+++ b/qa/qa/runtime/env.rb
@@ -61,6 +61,10 @@ module QA
ENV['QA_ADDITIONAL_REPOSITORY_STORAGE']
end
+ def non_cluster_repository_storage
+ ENV['QA_GITALY_NON_CLUSTER_STORAGE'] || 'gitaly'
+ end
+
def praefect_repository_storage
ENV['QA_PRAEFECT_REPOSITORY_STORAGE']
end
@@ -107,6 +111,10 @@ module QA
ENV['CI'] || ENV['CI_SERVER']
end
+ def cluster_api_url
+ ENV['CLUSTER_API_URL']
+ end
+
def qa_cookies
ENV['QA_COOKIES'] && ENV['QA_COOKIES'].split(';')
end