From 4cf852c46b256d64ac245cf3406775a93c6f72c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zachar?= Date: Tue, 7 Oct 2025 16:45:36 +0200 Subject: [PATCH] Add gating --- .fmf/version | 1 + gating.yaml | 6 ++++++ plan.fmf | 26 ++++++++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml 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 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 new file mode 100644 index 0000000..af198ab --- /dev/null +++ b/plan.fmf @@ -0,0 +1,26 @@ +# based on https://gitlab.com/redhat/centos-stream/rpms/python-meson-python/-/blob/c10s/ci.fmf + +execute: + how: tmt + +discover: + - how: shell + tests: + - name: smoke + test: | + set -eux + TMP_DIR="$(mktemp -d)" + pushd "$TMP_DIR" + meson init --name foo + cat >pyproject.toml <