From 4cc10e80e8a9212ce5fc002e410f9b8ea09d9f75 Mon Sep 17 00:00:00 2001 From: Lukas Zachar Date: Fri, 12 Jan 2024 12:32:49 +0100 Subject: [PATCH] Add tmt gating plan MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cherry-picked from python3.11-semantic_version 49b1589806b08ea9753f278b89d0a3f010af7b04 https://gitlab.com/redhat/centos-stream/rpms/python3.11-semantic_version/-/commit/49b1589806b08ea9753f278b89d0a3f010af7b04 Amended to work with this version. Co-Authored-By: Miro HronĨok --- .fmf/version | 1 + gating.yaml | 7 +++++++ plan.fmf | 14 ++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plan.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..0c0cbb2 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy + +product_versions: + - rhel-8 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/plan.fmf b/plan.fmf new file mode 100644 index 0000000..c73cd72 --- /dev/null +++ b/plan.fmf @@ -0,0 +1,14 @@ +execute: + how: tmt +discover: + how: shell + dist-git-source: true + tests: + - name: bundled tests + require: + - python3.12-semantic_version + - python3.12-pytest + test: | + cd $(dirname $TMT_SOURCE_DIR/python-semanticversion-*/tests) && + rm -rf semantic_version* && + pytest-3.12