From 9cb8874d2a42b7fc5cea03124881150baf42ef44 Mon Sep 17 00:00:00 2001 From: Lukas Zachar Date: Wed, 16 Feb 2022 11:53:53 +0100 Subject: [PATCH] Add simple gating Cherry-picked from 7a3cef2bf49b31b0f9c2ecd4b05d34bdc214998c --- .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..eb86f86 --- /dev/null +++ b/plans.fmf @@ -0,0 +1,11 @@ +discover: + - name: Smoke tests + how: shell + tests: + - name: import works + test: python3 -c 'import six' + require: + - python3-six + duration: 1m +execute: + how: tmt