Update gating.yaml, add plans and waive badfuncs in rpminspect

This commit is contained in:
Zdenek Dohnal 2024-07-26 10:26:23 +02:00
parent 2af54a34f2
commit a783de6b63
5 changed files with 87 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,8 +1,25 @@
--- !Policy
product_versions:
- rhel-9
- fedora-*
decision_context: bodhi_update_push_testing
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-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/tier1-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.tedude.validation}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.acceptance-tier.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-public.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}

37
plans.fmf Normal file
View File

@ -0,0 +1,37 @@
/tier1-internal:
plan:
import:
url: https://src.fedoraproject.org/tests/ghostscript.git
name: /plans/tier1/internal
/tier1-public:
plan:
import:
url: https://src.fedoraproject.org/tests/ghostscript.git
name: /plans/tier1/public
/tier2-tier3-internal:
plan:
import:
url: https://src.fedoraproject.org/tests/ghostscript.git
name: /plans/tier2-tier3/internal
/tier2-tier3-public:
plan:
import:
url: https://src.fedoraproject.org/tests/ghostscript.git
name: /plans/tier2-tier3/public
/others-internal:
plan:
import:
url: https://src.fedoraproject.org/tests/ghostscript.git
name: /plans/others/internal
/others-public:
plan:
import:
url: https://src.fedoraproject.org/tests/ghostscript.git
name: /plans/others/public

27
rpminspect.yaml Normal file
View File

@ -0,0 +1,27 @@
---
badfuncs:
allowed:
# scanners usually do not live on networks which would require
# IPv6 due having too many hosts on one network, so it is not
# a priority to have IPv6 support.
# It is reported upstream at https://bugzilla.redhat.com/show_bug.cgi?id=1953983
/usr/lib*/sane/libsane-dell1600n_net.so.*:
- gethostbyname
/usr/lib*/sane/libsane-epson2.so.*:
- gethostbyname
- inet_ntoa
/usr/lib*/sane/libsane-epsonds.so.*:
- gethostbyname
- inet_ntoa
/usr/lib*/sane/libsane-kodakio.so.*:
- gethostbyname
- inet_ntoa
/usr/lib*/sane/libsane-magicolor.so.*:
- gethostbyname
- inet_ntoa
/usr/lib*/sane/libsane-xerox_mfp.so.*:
- gethostbyname
unicode:
# the character looks as typo
# reported upstream https://gitlab.com/sane-project/backends/-/merge_requests/848
exclude: sane-backends-1.3.1/backend/kodakaio.c