From 6195080bfdcba1f701c12ce0fbe09c9c461fe530 Mon Sep 17 00:00:00 2001 From: Tomas Orsava Date: Tue, 22 Feb 2022 18:44:38 +0100 Subject: [PATCH] Add gating configuration and a simple smoke test Cherry-picked and adjusted to c10s from: c2e8398254bcea00885fe171961e60def59c9d05 --- .fmf/version | 1 + gating.yaml | 5 +++++ plans.fmf | 11 +++++++++++ 3 files changed, 17 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..16755b7 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,5 @@ +--- !Policy + +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..365da97 --- /dev/null +++ b/plans.fmf @@ -0,0 +1,11 @@ +discover: + - name: Smoke-tests + how: shell + tests: + - name: python-import-test + test: python3 -c 'import iniconfig' + require: + - python3-iniconfig + duration: 1m +execute: + how: tmt