From 5fd6a116dfd8389a4e0b63f7bae9e07f72f9411e Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Tue, 20 Aug 2024 17:23:36 +0300 Subject: [PATCH] Add sanity test for gating --- .fmf/version | 1 + gating.yaml | 6 ++++++ plans.fmf | 11 +++++++++++ 3 files changed, 18 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plans.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..4ca9235 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-10 +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..f21ea79 --- /dev/null +++ b/plans.fmf @@ -0,0 +1,11 @@ +discover: + - name: Smoke-tests + how: shell + tests: + - name: python-import-test + test: python3 -c 'import jsonschema_specifications' + require: + - python3-jsonschema-specifications + duration: 1m +execute: + how: tmt