Add gating configuration and a simple smoke test

This commit is contained in:
Tomas Orsava 2022-02-16 16:38:17 +01:00 committed by Stepan Oksanichenko
parent 231da202ae
commit 9a79cbab50
5 changed files with 24 additions and 1 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

1
.python-pysocks.metadata Normal file
View File

@ -0,0 +1 @@
439b5044af79748972675f3d9af1f4c91753d0db PySocks-1.7.1.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 socks'
require:
- python3-pysocks
duration: 1m
execute:
how: tmt

View File

@ -8,7 +8,7 @@
Name: python-%{modname} Name: python-%{modname}
Version: 1.7.1 Version: 1.7.1
Release: 11%{?dist} Release: 12%{?dist}
Summary: %{sum} Summary: %{sum}
License: BSD License: BSD
@ -115,6 +115,10 @@ rm -rfv test/bin
%changelog %changelog
* Wed Feb 16 2022 Tomas Orsava <torsava@redhat.com> - 1.7.1-12
- Add gating configuration and a simple smoke test
- Related: rhbz#1950291
* Tue Feb 08 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.7.1-11 * Tue Feb 08 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.7.1-11
- Add automatically generated Obsoletes tag with the python39- prefix - Add automatically generated Obsoletes tag with the python39- prefix
for smoother upgrade from RHEL8 for smoother upgrade from RHEL8