From e77eebc966af9bea7c41057ca77a6d7395a52f7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zachar?= Date: Thu, 14 May 2026 14:06:21 +0200 Subject: [PATCH] Use tmt for gating MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plan taken from https://src.fedoraproject.org/rpms/python3.6/raw/f44/f/plan.fmf modified: - to use testrepo on gitlab.com - drop marshalparser which isn't present for c8s Co-authored-by: Miro HronĨok --- .fmf/version | 1 + gating.yaml | 3 ++- plan.fmf | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 .fmf/version create mode 100644 plan.fmf diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml index 9e0ee4a..0c0cbb2 100644 --- a/gating.yaml +++ b/gating.yaml @@ -1,6 +1,7 @@ --- !Policy + product_versions: - rhel-8 decision_context: osci_compose_gate rules: - - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional} \ No newline at end of file + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plan.fmf b/plan.fmf new file mode 100644 index 0000000..679436f --- /dev/null +++ b/plan.fmf @@ -0,0 +1,32 @@ +execute: + how: tmt + +environment: + pybasever: '3.6' + +discover: + - name: tests_python + how: shell + url: https://gitlab.com/redhat/centos-stream/tests/python.git + tests: + - name: smoke + path: /smoke + test: "VERSION=${pybasever} TOX=false CYTHON=false ./venv.sh" + - name: debugsmoke + path: /smoke + test: "PYTHON=/usr/libexec/platform-python${pybasever}dm VERSION=${pybasever} TOX=false CYTHON=false ./venv.sh" +prepare: + - name: Install dependencies + how: install + package: + - python3 + - platform-python-debug + - dnf # for upgrade + - name: Update packages + how: shell + script: dnf upgrade -y + - name: rpm_qa + order: 100 + how: shell + script: rpm -qa | sort | tee $TMT_PLAN_DATA/rpmqa.txt +