From 05e76984d991e652d0058a7ca527fce5719db278 Mon Sep 17 00:00:00 2001 From: Petr Šplíchal Date: Jul 25 2019 08:15:13 +0000 Subject: Clarify gating.yaml example [fix #30] --- diff --git a/modules/ROOT/pages/gating.adoc b/modules/ROOT/pages/gating.adoc index f6fc0d6..27eec31 100644 --- a/modules/ROOT/pages/gating.adoc +++ b/modules/ROOT/pages/gating.adoc @@ -7,12 +7,17 @@ Gating of packages based on test results is currently enabled on demand. If you want to turn the gating on for your component create a new file `gating.yaml` in the root of the package dist git directory with the following content: +Enable gate to the testing repository: + --- !Policy product_versions: - fedora-* decision_context: bodhi_update_push_testing rules: - !PassingTestCaseRule {test_case_name: org.centos.prod.ci.pipeline.allpackages-build.package.test.functional.complete} + +Enable gate to the stable repository (use this one for gating rawhide): + --- !Policy product_versions: - fedora-*