Commit 713e529a authored by Nailia Iskhakova's avatar Nailia Iskhakova Committed by Andrejs Cunskis

Add Staging Canary and Staging Ref to QA metrics

parent 5417651f
...@@ -125,11 +125,11 @@ module QA ...@@ -125,11 +125,11 @@ module QA
@merge_request ||= (!!env('CI_MERGE_REQUEST_IID') || !!env('TOP_UPSTREAM_MERGE_REQUEST_IID')).to_s @merge_request ||= (!!env('CI_MERGE_REQUEST_IID') || !!env('TOP_UPSTREAM_MERGE_REQUEST_IID')).to_s
end end
# Test run type from staging, canary, preprod or production env # Test run type from staging (`gstg`, `gstg-cny`, `gstg-ref`), canary, preprod or production env
# #
# @return [String, nil] # @return [String, nil]
def run_type def run_type
return unless %w[staging canary preprod production].include?(project_name) return unless %w[staging staging-canary staging-ref canary preprod production].include?(project_name)
@run_type ||= begin @run_type ||= begin
test_subset = if env('NO_ADMIN') == 'true' test_subset = if env('NO_ADMIN') == 'true'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment