[c9s] Add test plan to run butane gating tests

Ref: https://issues.redhat.com/browse/COS-2283
This commit is contained in:
Aashish Radhakrishnan 2025-06-23 10:24:34 -04:00
parent 40bd785f6f
commit 14fcb08835
4 changed files with 23 additions and 1 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

View File

@ -3,4 +3,4 @@ product_versions:
- rhel-9
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./plans/smoke} # this is the testcase identifier, which OSCI pipeline uses

12
plans/main.fmf Normal file
View File

@ -0,0 +1,12 @@
prepare:
- name: Install butane package
when: use_built_from_src is not defined or use_built_from_src == false
how: install
package: butane
- name: Set BUTANE_BIN_DIR when installed package
when: use_built_from_src is not defined or use_built_from_src == false
how: shell
script: |
set -x -e -o pipefail
echo "BUTANE_BIN_DIR=/usr/bin" > /tmp/butane_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/butane.git
filter: 'tag: smoke'
execute:
how: tmt