Commit 01049093 authored by Andrejs Cunskis's avatar Andrejs Cunskis

Merge branch 'qe-add-stg-cny-and-ref-to-qa-metrics' into 'master'

Add Staging Canary and Staging Ref to QA metrics

See merge request gitlab-org/gitlab!77237
parents a5fb3ebd 713e529a
......@@ -125,11 +125,11 @@ module QA
@merge_request ||= (!!env('CI_MERGE_REQUEST_IID') || !!env('TOP_UPSTREAM_MERGE_REQUEST_IID')).to_s
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]
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
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