Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
713e529a
Commit
713e529a
authored
Dec 23, 2021
by
Nailia Iskhakova
Committed by
Andrejs Cunskis
Dec 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Staging Canary and Staging Ref to QA metrics
parent
5417651f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
qa/qa/support/formatters/test_stats_formatter.rb
qa/qa/support/formatters/test_stats_formatter.rb
+2
-2
No files found.
qa/qa/support/formatters/test_stats_formatter.rb
View file @
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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment