From 2b8a01e67262df5d116605a08bd61b47a20eeaa0 Mon Sep 17 00:00:00 2001 From: Lukas Zachar Date: Mon, 26 Jul 2021 17:02:38 +0200 Subject: [PATCH] Add gating.yaml and simple test Related: bz#1951070 --- .fmf/version | 1 + gating.yaml | 6 ++++++ plans.fmf | 4 ++++ smoke.fmf | 6 ++++++ 4 files changed, 17 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plans.fmf create mode 100644 smoke.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.fmf b/plans.fmf new file mode 100644 index 0000000..e6427de --- /dev/null +++ b/plans.fmf @@ -0,0 +1,4 @@ +discover: + how: fmf +execute: + how: tmt diff --git a/smoke.fmf b/smoke.fmf new file mode 100644 index 0000000..5e9e2b2 --- /dev/null +++ b/smoke.fmf @@ -0,0 +1,6 @@ +description: | + Run xmvn version provided by javapackages-bootstrap (similar as %check in spec does) +framework: shell +require: +- javapackages-bootstrap +test: $(rpm -ql javapackages-bootstrap | grep /xmvn$) --version