From 6d8d14be78506c88f0d459049fead584a187ed63 Mon Sep 17 00:00:00 2001 From: Petr Šplíchal Date: Dec 06 2021 16:07:24 +0000 Subject: Use 'Multiple Plans' to prevent confusion Some users were confused that separate plan reporting has to be enabled even when there is a single plan. --- diff --git a/modules/ROOT/pages/gating.adoc b/modules/ROOT/pages/gating.adoc index 948d425..e1c188a 100644 --- a/modules/ROOT/pages/gating.adoc +++ b/modules/ROOT/pages/gating.adoc @@ -2,7 +2,7 @@ = Gating = -== Enable == +== Enable Gating == 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: @@ -50,9 +50,9 @@ The following Fedora CI tests can be enabled for gating: See Greenwave's https://docs.pagure.org/greenwave/package-specific-policies.html[Package-specific policies] for more technical details about setting the policy. -== Using Plans == +== Using Multiple Plans == -If you are using xref:tmt.adoc[tmt] plans it is also possible to enable gating for selected plans only. +If you are using multiple xref:tmt.adoc[tmt] plans it is also possible to enable gating for selected plans only. Instead of the generic `tier0` type use the name of the desired plan in the resultsdb testcase name: !PassingTestCaseRule {test_case_name: fedora-ci.koji-build..functional} diff --git a/modules/ROOT/pages/tmt.adoc b/modules/ROOT/pages/tmt.adoc index d71235f..0c39c34 100644 --- a/modules/ROOT/pages/tmt.adoc +++ b/modules/ROOT/pages/tmt.adoc @@ -339,7 +339,7 @@ In order to enable separate result for each plan, create a `ci.fmf` file in the Once the separate reporting is enabled, you can turn on gating for selected plans only. Plan name becomes part of the resultsdb testcase name which is used in the `gating.yaml` config. -See the gating documentation on xref:gating.adoc#_using_plans[Using Plans] for more details. +See the gating documentation on xref:gating.adoc#_using_multiple_plans[Using Multiple Plans] for more details. === Minimal Path ===