lib/dri/commands/fetch/pipelines.rb in dri-0.9.0 vs lib/dri/commands/fetch/pipelines.rb in dri-0.10.0
- old
+ new
@@ -118,11 +118,10 @@
if ops
(contains_stage?(jobs, "qa") || contains_stage?(jobs, "test")) &&
tests_exceed_threshold?(project_id: project_id, pipeline_id: pipeline_id, ops: ops)
else
contains_stage?(jobs, "qa") || contains_stage?(jobs, "test")
- # Nightly pipeline does not execute full E2E suite if sanity fails so can't check tests count
end
end
# Combined logic to check if a pipeline was a sanity run for all pipeline types - ie., live environment
# and gitlab-qa-mirror pipelines
@@ -159,11 +158,9 @@
# @param [Boolean] sanity
def allure_bucket_name(pipeline_name, sanity)
case pipeline_name
when "master"
"e2e-package-and-test"
- when "nightly"
- pipeline_name
when "pre_prod"
"preprod-#{run_type(sanity)}"
else
"#{pipeline_name.sub('_', '-')}-#{run_type(sanity)}"
end