diff options
Diffstat (limited to 'qa/.confiner/master.yml')
-rw-r--r-- | qa/.confiner/master.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/qa/.confiner/master.yml b/qa/.confiner/master.yml new file mode 100644 index 00000000000..bfb44facd7d --- /dev/null +++ b/qa/.confiner/master.yml @@ -0,0 +1,34 @@ +- name: Quarantine E2E tests in Master that fail consistently + plugin: + name: gitlab # https://gitlab.com/gitlab-org/quality/confiner/-/blob/main/doc/plugins/gitlab.md + args: + threshold: 3 # 3 failures + private_token: $QA_GITLAB_CI_TOKEN + project_id: gitlab-org/gitlab-qa-mirror # https://gitlab.com/gitlab-org/gitlab-qa-mirror/ + target_project: gitlab-org/gitlab + failure_issue_labels: QA,Quality + failure_issue_prefix: "Failure in " + pwd: qa # E2E specs reside in the qa subdirectory + timeout: 30 + ref: master + actions: + - quarantine + +- name: Dequarantine E2E tests in Master that pass consistently + plugin: + name: gitlab # https://gitlab.com/gitlab-org/quality/confiner/-/blob/main/doc/plugins/gitlab.md + args: + threshold: 10 # at least 10 passes consecutively with no failures to be a candidate for dequarantine + private_token: $QA_GITLAB_CI_TOKEN + + # we do not run quarantined jobs automatically on master, but we still commit to master + project_id: gitlab-org/quality/nightly # https://gitlab.com/gitlab-org/quality/nightly/ + target_project: gitlab-org/gitlab # https://gitlab.com/gitlab-org/gitlab + failure_issue_labels: QA,Quality + failure_issue_prefix: "Failure in " + pwd: qa # E2E specs reside in the qa subdirectory + timeout: 30 + ref: master + job_pattern: '.+-quarantine' + actions: + - dequarantine |