Commit 8e710e19 authored by Andrejs Cunskis's avatar Andrejs Cunskis

Merge branch 'qa-add-review-qa-reliable-job' into 'master'

Add review-qa-reliable job

See merge request gitlab-org/gitlab!74147
parents 2263c472 2f4554e0
...@@ -32,6 +32,20 @@ ...@@ -32,6 +32,20 @@
expire_in: 7 days expire_in: 7 days
when: always when: always
.parallel-qa-base:
parallel: 5
script:
- export KNAPSACK_REPORT_PATH=knapsack/master_report.json
- export KNAPSACK_TEST_FILE_PATTERN=qa/specs/features/**/*_spec.rb
- |
bin/test "${QA_SCENARIO}" "${CI_ENVIRONMENT_URL}" \
-- \
--color --format documentation \
--format RspecJunitFormatter --out tmp/rspec.xml
artifacts:
reports:
junit: qa/tmp/rspec.xml
.allure-report-base: .allure-report-base:
image: image:
name: ${GITLAB_DEPENDENCY_PROXY}andrcuns/allure-report-publisher:0.4.1 name: ${GITLAB_DEPENDENCY_PROXY}andrcuns/allure-report-publisher:0.4.1
...@@ -65,24 +79,23 @@ review-qa-smoke: ...@@ -65,24 +79,23 @@ review-qa-smoke:
script: script:
- bin/test Test::Instance::Smoke "${CI_ENVIRONMENT_URL}" - bin/test Test::Instance::Smoke "${CI_ENVIRONMENT_URL}"
review-qa-reliable:
extends:
- .review-qa-base
- .review:rules:review-qa-reliable
- .parallel-qa-base
variables:
QA_RUN_TYPE: review-qa-reliable
QA_SCENARIO: Test::Instance::Reliable
review-qa-all: review-qa-all:
extends: extends:
- .review-qa-base - .review-qa-base
- .review:rules:review-qa-all - .review:rules:review-qa-all
- .parallel-qa-base
variables: variables:
QA_RUN_TYPE: review-qa-all QA_RUN_TYPE: review-qa-all
parallel: 5 QA_SCENARIO: Test::Instance::All
script:
- export KNAPSACK_REPORT_PATH=knapsack/master_report.json
- export KNAPSACK_TEST_FILE_PATTERN=qa/specs/features/**/*_spec.rb
- |
bin/test Test::Instance::All "${CI_ENVIRONMENT_URL}" \
-- \
--color --format documentation \
--format RspecJunitFormatter --out tmp/rspec.xml
artifacts:
reports:
junit: qa/tmp/rspec.xml
review-performance: review-performance:
extends: extends:
......
...@@ -1666,6 +1666,11 @@ ...@@ -1666,6 +1666,11 @@
- <<: *if-dot-com-ee-schedule-child-pipeline - <<: *if-dot-com-ee-schedule-child-pipeline
when: on_failure when: on_failure
.review:rules:review-qa-reliable:
rules:
- when: on_success
allow_failure: true
.review:rules:review-qa-all: .review:rules:review-qa-all:
rules: rules:
- <<: *if-not-ee - <<: *if-not-ee
......
# frozen_string_literal: true
module QA
module Scenario
module Test
module Instance
class Reliable < Template
include Bootable
include SharedAttributes
tags :reliable
end
end
end
end
end
# frozen_string_literal: true
RSpec.describe QA::Scenario::Test::Instance::Reliable do
it_behaves_like 'a QA scenario class' do
let(:tags) { [:reliable] }
end
end
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