From cbe5294954e680645f7bc1e58aefdc141b595596 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Thu, 12 Dec 2024 16:17:45 +0100 Subject: [PATCH 1/3] Define a new context dimension for image mode Introduce a new context dimension key `*****-mode` in order to allow enabling/disabling/adjusting tests and plans based on the distribution mode. --- spec/context/dimension.fmf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/spec/context/dimension.fmf b/spec/context/dimension.fmf index 8f82d6392a..bd9c2fc9bb 100644 --- a/spec/context/dimension.fmf +++ b/spec/context/dimension.fmf @@ -14,6 +14,15 @@ description: | runs (fedora, fedora-33, centos, centos-8, centos-8.4, centos-stream, centos-stream-9, rhel, rhel-8, rhel-8.4). + distro-mode + Distribution mode, ``package`` for the standard way using + packages or ``image`` for the new way of distributing + using container images. + + image-mode + Flag denoting how new content is distributed. Use ``true`` + for container images and ``false`` for standard packages. + variant The distribution variant (Client, Desktop, Server Workstation, Silverblue, CoreOS). From 8a2892ae2dad8c2df82f5311bf40c03e73aa2cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Fri, 24 Jan 2025 10:52:34 +0100 Subject: [PATCH 2/3] There were strong objections against the boolean value --- spec/context/dimension.fmf | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/spec/context/dimension.fmf b/spec/context/dimension.fmf index bd9c2fc9bb..f0a929679c 100644 --- a/spec/context/dimension.fmf +++ b/spec/context/dimension.fmf @@ -14,14 +14,10 @@ description: | runs (fedora, fedora-33, centos, centos-8, centos-8.4, centos-stream, centos-stream-9, rhel, rhel-8, rhel-8.4). - distro-mode - Distribution mode, ``package`` for the standard way using - packages or ``image`` for the new way of distributing - using container images. - - image-mode - Flag denoting how new content is distributed. Use ``true`` - for container images and ``false`` for standard packages. + deployment-mode + Deployment mode of the distribution, ``package`` for the + standard way using packages or ``image`` for the new way + of distributing using container images. variant The distribution variant (Client, Desktop, Server From d97318edf89438f20d9634ae6bc950ebac54008e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Fri, 24 Jan 2025 11:05:45 +0100 Subject: [PATCH 3/3] Include a short release note --- docs/releases.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/releases.rst b/docs/releases.rst index 71588b4a03..b65dd42487 100644 --- a/docs/releases.rst +++ b/docs/releases.rst @@ -11,6 +11,11 @@ tmt-1.42.0 The ``tmt show`` command now prints in verbose mode manual test instructions as well. +A new context :ref:`/spec/context/dimension` ``deployment-mode`` +has been added to the specification. It can be used to +:ref:`/spec/core/adjust` test and plan metadata for the +``package`` or ``image`` mode context. + tmt-1.41.0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~