From f286008d238cafa380527af990ac76c4bffe8b81 Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Jun 10 2019 11:30:19 +0000 Subject: Gate on package test results. In https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/5QVYP53EO5O43UCRQSTNUP2M3YSE24MM/ Adam suggests that `dist.depcheck` hasn't been used for a while I've checked that `org.centos.prod.ci.pipeline.allpackages-build.package.test.functional.complete` will cause gating to stop errata when tests for the package fail in Fedora CI. --- diff --git a/docs/package-specific-policies.rst b/docs/package-specific-policies.rst index 63ab8f4..e7ecefc 100644 --- a/docs/package-specific-policies.rst +++ b/docs/package-specific-policies.rst @@ -25,7 +25,14 @@ Here is an example :file:`gating.yaml` file: decision_context: bodhi_update_push_testing subject_type: koji_build rules: - - !PassingTestCaseRule {test_case_name: dist.depcheck} + - !PassingTestCaseRule {test_case_name: org.centos.prod.ci.pipeline.allpackages-build.package.test.functional.complete} + --- !Policy + product_versions: + - fedora-* + decision_context: bodhi_update_push_stable + subject_type: koji_build + rules: + - !PassingTestCaseRule {test_case_name: org.centos.prod.ci.pipeline.allpackages-build.package.test.functional.complete} The structure of the file is the same as the policies in Greenwave's configuration, with the only difference that the "id" key is optional.