Skip to content
代码片段 群组 项目
未验证 提交 d30cd89d 编辑于 作者: ddavison's avatar ddavison
浏览文件

Add rule for quarantining nightly e2e tests

Rename scheduled jobs for master and nightly
上级 4d048f64
No related branches found
No related tags found
无相关合并请求
...@@ -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
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册