Add test plan to run rust-afterburn gating tests

Ref: https://issues.redhat.com/browse/COS-2285
Upstream PR : https://github.com/coreos/afterburn/pull/1218
This commit is contained in:
Aashish Radhakrishnan 2025-06-20 10:58:15 -04:00
parent a20004a147
commit fa55e27a03
4 changed files with 21 additions and 1 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

View File

@ -3,5 +3,5 @@ product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} # this is the testcase identifier, which OSCI pipeline uses
- !PassingTestCaseRule {test_case_name: osci.brew-build./tests/tmt/plans/smoke} # this is the testcase identifier, which OSCI pipeline uses

10
plans/main.fmf Normal file
View File

@ -0,0 +1,10 @@
prepare:
- name: Install afterburn package
how: install
package: afterburn
- name: Set AFTERBURN_BIN_DIR when installed package
how: shell
script: |
set -x -e -o pipefail
echo "AFTERBURN_BIN_DIR=/usr/bin" > /tmp/afterburn_bin_dir

9
plans/smoke.fmf Normal file
View File

@ -0,0 +1,9 @@
summary: Run gating tests
discover:
- name: Internal gating tests
how: fmf
url: https://github.com/coreos/afterburn.git
filter: 'tag: smoke'
execute:
how: tmt