From 1bb50495600cf5ee7ff3ff36ca39778626d34740 Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Tue, 30 Jul 2024 18:19:13 -0400 Subject: [PATCH] Add initial gating tests --- .fmf/version | 1 + gating.yaml | 21 +++++++++++++++++++++ tests/ci.fmf | 9 +++++++++ 3 files changed, 31 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 tests/ci.fmf 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..d97e0fe --- /dev/null +++ b/gating.yaml @@ -0,0 +1,21 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_testing +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} +--- !Policy +product_versions: + - rhel-* +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} + diff --git a/tests/ci.fmf b/tests/ci.fmf new file mode 100644 index 0000000..e263086 --- /dev/null +++ b/tests/ci.fmf @@ -0,0 +1,9 @@ +summary: Always passing test +prepare: + how: install + package: + - bash + - lttng-ust +execute: + script: + - true # always pass