Add gating configuration and a simple smoke test

This commit is contained in:
Tomas Orsava 2022-02-16 16:35:07 +01:00 committed by Stepan Oksanichenko
parent 9541ed80e2
commit 3b22f7da5e
5 changed files with 24 additions and 1 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

1
.python-py.metadata Normal file
View File

@ -0,0 +1 @@
690e4e3dcaeafe02ad4af36233148e7e10032d1a py-1.10.0.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

11
plans.fmf Normal file
View File

@ -0,0 +1,11 @@
discover:
- name: Smoke-tests
how: shell
tests:
- name: python-import-test
test: python3 -c 'import py'
require:
- python3-py
duration: 1m
execute:
how: tmt

View File

@ -16,7 +16,7 @@
Name: python-%{srcname}
Version: 1.10.0
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Library with cross-python path, ini-parsing, io, code, log facilities
License: MIT and Public Domain
# main package: MIT, except: doc/style.css: Public Domain
@ -116,6 +116,10 @@ py.test-%{python3_version} -r s -k"-TestWCSvnCommandPath" testing
%changelog
* Wed Feb 16 2022 Tomas Orsava <torsava@redhat.com> - 1.10.0-6
- Add gating configuration and a simple smoke test
- Related: rhbz#1950291
* Tue Feb 08 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.10.0-5
- Add automatically generated Obsoletes tag with the python39- prefix
for smoother upgrade from RHEL8