Update testing plans and gating, remove inline tests

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
František Hrdina 2026-07-17 08:13:10 +02:00
parent b29c316890
commit 93dd4e02cb
6 changed files with 94 additions and 36 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,6 +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: osci.brew-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-public.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}

71
plans.fmf Normal file
View File

@ -0,0 +1,71 @@
/tier1-internal:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/gpsd-minimal.git
name: /plans/tier1/internal
/tier1-internal-gpsd:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/gpsd-minimal.git
name: /plans/tier1/internal-gpsd
/tier1-public:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/gpsd-minimal.git
name: /plans/tier1/public
/tier1-public-gpsd:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/gpsd-minimal.git
name: /plans/tier1/public-gpsd
/tier2-tier3-internal:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/gpsd-minimal.git
name: /plans/tier2-tier3/internal
/tier2-tier3-internal-gpsd:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/gpsd-minimal.git
name: /plans/tier2-tier3/internal-gpsd
/tier2-tier3-public:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/gpsd-minimal.git
name: /plans/tier2-tier3/public
/tier2-tier3-public-gpsd:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/gpsd-minimal.git
name: /plans/tier2-tier3/public-gpsd
/others-internal:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/gpsd-minimal.git
name: /plans/others/internal
/others-internal-gpsd:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/gpsd-minimal.git
name: /plans/others/internal-gpsd
/others-public:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/gpsd-minimal.git
name: /plans/others/public
/others-public-gpsd:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/gpsd-minimal.git
name: /plans/others/public-gpsd

View File

@ -1,27 +0,0 @@
#!/bin/bash
set -e
r=0
executables=$(rpm -ql gpsd-minimal gpsd-minimal-clients | grep -E '/s?bin/')
for b in $executables; do
case "$(basename "$b")" in
gpsdebuginfo)
continue;;
zerk)
h="-h";;
*)
h="--help";;
esac
if "$b" "$h" |& grep -qi '^usage *:'; then
echo "$b OK"
else
echo "$b FAILED"
"$b" "$h" || :
r=1
fi
done
exit $r

View File

@ -1,7 +0,0 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- smoke