diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..dd02a0b --- /dev/null +++ b/gating.yaml @@ -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} +... diff --git a/test-plan.fmf b/test-plan.fmf new file mode 100644 index 0000000..1dc2b1e --- /dev/null +++ b/test-plan.fmf @@ -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 +...