From f4907c3180aa96d68ccddff386a662fae5450620 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 14 Nov 2023 09:11:05 +0100 Subject: [PATCH] Add gating test related: RHEL-13739 --- .fmf/version | 1 + cepces.spec | 5 ++++- gating.yaml | 6 ++++++ plans.fmf | 4 ++++ tests/smoke.fmf | 5 +++++ 5 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plans.fmf create mode 100644 tests/smoke.fmf diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..56a6051 --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 \ No newline at end of file diff --git a/cepces.spec b/cepces.spec index c3b753b..a5361fa 100644 --- a/cepces.spec +++ b/cepces.spec @@ -5,7 +5,7 @@ Name: cepces Version: 0.3.7 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Certificate Enrollment through CEP/CES License: GPL-3.0-or-later @@ -179,6 +179,9 @@ fi %files selinux -f selinux-files.txt %changelog +* Tue Nov 14 2023 Andreas Schneider - 0.3.7-5 +- related: RHEL-13739 - Add gating tests + * Thu Nov 09 2023 Andreas Schneider - 0.3.7-4 - resolves: RHEL-13739 - Add package to CentOS 9 Stream diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..6985029 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-8 +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..0392cd5 --- /dev/null +++ b/plans.fmf @@ -0,0 +1,4 @@ +discover: + how: fmf +execute: + how: tmt diff --git a/tests/smoke.fmf b/tests/smoke.fmf new file mode 100644 index 0000000..3fffb10 --- /dev/null +++ b/tests/smoke.fmf @@ -0,0 +1,5 @@ +test: python3 -c 'import cepces; cepces.Base()' +framework: shell +require: + - python3 + - python3-cepces