Enable gating against centos-stream tests

This commit is contained in:
Jan Staněk 2024-02-09 16:58:43 +01:00 committed by sgallagh
parent a2960c33fe
commit e5500b6bec
3 changed files with 35 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

19
gating.yaml Normal file
View File

@ -0,0 +1,19 @@
--- !Policy # testing repository
product_versions:
- fedora-*
decision_contexts: [bodhi_update_push_testing]
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional}
--- !Policy # stable repository
product_versions:
- fedora-*
decision_contexts: [bodhi_update_push_stable]
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional}
...

15
test-plan.fmf Normal file
View File

@ -0,0 +1,15 @@
---
summary: Package test suite
discover:
how: fmf
url: https://gitlab.com/redhat/centos-stream/tests/nodejs
environment:
NODEJS_MAIN_PACKAGE: nodejs20
NODEJS_BIN: /usr/bin/node-20
prepare:
- name: install tested package
how: install
package: '${NODEJS_MAIN_PACKAGE}'
execute:
how: tmt
...