From c0aa0898a7a7c4dcfadefc4915a0a8cdd02bbbe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zachar?= Date: Fri, 26 Sep 2025 11:22:08 +0200 Subject: [PATCH] Add gating.yaml Can be same for all rhel versions Just an import test --- gating.yaml | 6 ++++++ plan.fmf | 22 +++++----------------- 2 files changed, 11 insertions(+), 17 deletions(-) create mode 100644 gating.yaml diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..2c7ed80 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-* +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plan.fmf b/plan.fmf index b21d848..f3716b3 100644 --- a/plan.fmf +++ b/plan.fmf @@ -2,22 +2,10 @@ execute: how: tmt discover: - - name: rpms_pyproject-rpm-macros + - name: same_repo how: shell - url: https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git - tests: - - name: pyproject_entrypoints - path: /tests - test: ./mocktest.sh python-entrypoints + tests: - name: import_test - test: python3.14 -c "import flit_core" - -prepare: - - name: Install dependencies - how: install - package: - - mock - - python3.14 - - python3.14-flit-core - - rpmdevtools - - rpm-build + test: python${pybasever} -c "import flit_core" + require: + - python${pybasever}-flit-core