Commit 4224b844 authored by Dan Davison's avatar Dan Davison

Merge branch 'dj-add-nightly-auto-quarantine' into 'master'

Add rule for quarantining nightly e2e tests

See merge request gitlab-org/gitlab!83463
parents 93b7e972 d30cd89d
...@@ -33,15 +33,25 @@ qa:selectors: ...@@ -33,15 +33,25 @@ qa:selectors:
script: script:
- bundle exec bin/qa Test::Sanity::Selectors - bundle exec bin/qa Test::Sanity::Selectors
qa:auto_quarantine: qa:master-auto-quarantine-dequarantine:
extends: extends:
- .qa-job-base - .qa-job-base
rules: rules:
- if: '$QA_TRIGGER_AUTO_QUARANTINE =~ /true|yes|1/i' - if: '$QA_TRIGGER_AUTO_QUARANTINE =~ /true|yes|1/i'
script: script:
- bundle exec confiner -r .confiner/quarantine.yml - bundle exec confiner -r .confiner/master.yml
allow_failure: true allow_failure: true
qa:nightly-auto-quarantine-dequarantine:
extends:
- .qa-job-base
rules:
- if: '$QA_TRIGGER_AUTO_QUARANTINE =~ /true|yes|1/i'
script:
- bundle exec confiner -r .confiner/nightly.yml
allow_failure: true
qa:selectors-as-if-foss: qa:selectors-as-if-foss:
extends: extends:
- qa:selectors - qa:selectors
......
- name: Quarantine E2E tests in Nightly that fail consistently
plugin:
name: gitlab
args:
threshold: 3
private_token: $QA_GITLAB_CI_TOKEN
project_id: gitlab-org/quality/nightly # https://gitlab.com/gitlab-org/quality/nightly/
target_project: gitlab-org/gitlab
failure_issue_labels: QA,Quality,found:nightly
failure_issue_prefix: "Failure in "
pwd: qa
timeout: 30
ref: master
environment:
name: nightly
pattern: 'pipeline: :nightly'
job_pattern: '^((?!quarantine).)*$'
actions:
- quarantine
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