Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/context.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.