From 2bb7d3f1d09e68f420a9c81691b620acacf18ce3 Mon Sep 17 00:00:00 2001 From: Lukas Javorsky Date: Mon, 12 Jun 2023 11:37:16 +0000 Subject: [PATCH] Add an example for CentOS Stream X distro adjustment --- docs/context.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/context.rst b/docs/context.rst index abf23bc9..0569d25f 100644 --- a/docs/context.rst +++ b/docs/context.rst @@ -230,3 +230,13 @@ comparison works for some special cases:: centos-8.4.0 < centos-9 ---> True centos-8.4.0 ~< centos-9 ---> True (no minor comparison requested) centos-8.4.0 ~< centos-9.2 ---> cannot (minor comparison requested) + +If you want to aim for CentOS Stream you can specify the desired version like e.g. ``centos-stream-9``. +Real-life example of the use-case can be the following:: + + adjust: + - enabled: false + when: distro >= rhel-8 or distro == centos-stream-8 + continue: false + +This example is disabling the test for RHEL-8+ and for CentOS Stream 8.