From 3f0874b56d36203f874928f8ad02f31d0c0814a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zachar?= Date: Tue, 14 Oct 2025 15:04:44 +0200 Subject: [PATCH] Add gating --- .fmf/version | 1 + gating.yaml | 6 ++++++ plan.fmf | 29 +++++++++++++++++++++++++++++ 3 files changed, 36 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..2c7ed80 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-* +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..38ab193 --- /dev/null +++ b/plan.fmf @@ -0,0 +1,29 @@ +execute: + how: tmt + +provision: + hardware: + memory: '>= 6 GB' + +discover: + how: shell + dist-git-source: true + dist-git-install-builddeps: true + dist-git-require: + - cargo + - rust-toolset + tests: + - name: unittests + test: | + export OPENSSL_ENABLE_SHA1_SIGNATURES=yes + export PYTHONPATH=./vectors + pip3.14 show pretend || pip3.14 install pretend + cd $(dirname $TMT_SOURCE_DIR/crypto*/tests) && + # no need for benchmarks + rm -rf tests/bench && + pytest-3.14 tests/ + require: + - python3.14-devel + - python3.14-pytest + - python3.14-pip + - python3.14-cryptography