From 97449e33d9021eebdda9d210d0afbfc665caa2f9 Mon Sep 17 00:00:00 2001 From: Petr Šplíchal Date: May 19 2021 16:09:16 +0000 Subject: Both tmt and STI tests can be used for gating The resultsdb test case name is identical for both `tmt` and `STI` tests. State this clearly and include the `tier0.functional` test in the list of all supported tests as well. --- diff --git a/modules/ROOT/pages/gating.adoc b/modules/ROOT/pages/gating.adoc index 7b4d092..bf29f75 100644 --- a/modules/ROOT/pages/gating.adoc +++ b/modules/ROOT/pages/gating.adoc @@ -36,13 +36,14 @@ A decision context identifies set of policies used for a specific gating. For example, `bodhi_update_push_stable` decision context is used for gating RPM builds in Bodhi updates before getting to the stable repository. The `decision_contexts` should match in both remote rules file and the policy in the Greenwave configuration (at least one decision context). -Rules define test cases that should be considered for the gating decision, in this case `fedora-ci.koji-build.tier0.functional` -which are tests that were run in the CI based on the configuration in `tests/tests.yml` in package's dist-git. +Rules define resultsdb test cases that should be considered for the gating decision, in this case `fedora-ci.koji-build.tier0.functional` +which are tests that were run in the CI based on the xref:tmt.adoc[tmt] or xref:standard-test-interface.adoc[STI] configuration in package's dist-git. If no tests are required for the particular decision context(s) rules should be set to an empty list, i. e. `rules: []`, otherwise Greenwave will return, that it could not find any applicable policies. -Other tests which can be enabled for gating: +The following tests can be enabled for gating: +* fedora-ci.koji-build.tier0.functional - component-specific tests enabled using xref:tmt.adoc[tmt] or xref:standard-test-interface.adoc[STI] in dist-git * https://github.com/fedora-ci/rpmdeplint-pipeline[fedora-ci.koji-build.rpmdeplint.functional] - to make sure the update's dependencies are available * https://github.com/fedora-ci/rpminspect-pipeline[fedora-ci.koji-build.rpminspect.static-analysis] - to check package sanity including ABI stability * https://github.com/fedora-ci/installability-pipeline[fedora-ci.koji-build.installability.functional] - to make sure package installation / update works well