From 5b9591fa2151e55f21456eeb866fd95dd4fe6bbd Mon Sep 17 00:00:00 2001 From: Sayan Paul Date: Thu, 8 Jan 2026 14:13:21 +0530 Subject: [PATCH] add gating tests Signed-off-by: Sayan Paul --- .fmf/version | 1 + gating.yaml | 6 ++++++ plans/smoke.fmf | 4 ++++ tests/main.fmf | 3 +++ 4 files changed, 14 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plans/smoke.fmf create mode 100644 tests/main.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..648918d --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plans/smoke.fmf b/plans/smoke.fmf new file mode 100644 index 0000000..941a1a0 --- /dev/null +++ b/plans/smoke.fmf @@ -0,0 +1,4 @@ +execute: + how: tmt +discover: + how: fmf diff --git a/tests/main.fmf b/tests/main.fmf new file mode 100644 index 0000000..f4e4bb2 --- /dev/null +++ b/tests/main.fmf @@ -0,0 +1,3 @@ +test: /usr/libexec/greenboot/greenboot --version +require: + - greenboot