Adjust gating.yaml and bump release to pass gating

Resolves: RHEL-26328
This commit is contained in:
Zdenek Dohnal 2024-05-17 10:56:28 +02:00
parent 863705097c
commit 4792d3deae
6 changed files with 45 additions and 4 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

1
ci.fmf Normal file
View File

@ -0,0 +1 @@
resultsdb-testcase: separate

View File

@ -1,7 +1,25 @@
--- !Policy
product_versions:
- rhel-*
- fedora-*
decision_context: bodhi_update_push_testing
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/public.functional}
#Rawhide
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/public.functional}
#gating rhel
--- !Policy
product_versions:
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.acceptance-tier.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/public.functional}

6
plans/public.fmf Normal file
View File

@ -0,0 +1,6 @@
summary: Test plan that runs all tests from cups tests repo.
discover:
how: fmf
url: https://src.fedoraproject.org/tests/system-config-printer.git
execute:
how: tmt

12
plans/tier1-internal.fmf Normal file
View File

@ -0,0 +1,12 @@
summary: CI plan, picks internal Tier1 tests, runs in beakerlib.
discover:
- name: rhel
how: fmf
filter: 'tier: 1'
url: git://pkgs.devel.redhat.com/tests/system-config-printer
execute:
how: tmt
adjust:
enabled: false
when: distro == centos-stream or distro == fedora
because: They don't have access to internal repos.

View File

@ -9,7 +9,7 @@
Summary: A printer administration tool
Name: system-config-printer
Version: 1.5.18
Release: 8%{?dist}
Release: 9%{?dist}
License: GPL-2.0-or-later
URL: https://github.com/%{username}/%{name}
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
@ -295,6 +295,9 @@ exit 0
%endif
%changelog
* Fri May 17 2024 Zdenek Dohnal <zdohnal@redhat.com> - 1.5.18-9
- adjust gating.yaml and build it to pass gating...
* Wed Mar 20 2024 Zdenek Dohnal <zdohnal@redhat.com> - 1.5.18-8
- RHEL-28165 - configure-printer exits with failure status when device is already handled
- RHEL-26328 - Drop the dependency on python3-pycurl