Add TMT gating plan

This adds a TMT plan for the gating test, which will currently
run a smoke tests only that are defined in the coreos-installer upstream
repository: https://github.com/coreos/coreos-installer
Verify the upstream repository PR for additional refrence:
https://github.com/coreos/coreos-installer/pull/1664

JIRA: https://issues.redhat.com/browse/COS-2286

Signed-off-by: Tiago Bueno <tbueno@redhat.com>
This commit is contained in:
Tiago Bueno 2025-06-03 13:16:34 -03:00
parent 4654b63ae6
commit 9f0780dedc
No known key found for this signature in database
GPG Key ID: E05B66AA4A5AFC8C
4 changed files with 27 additions and 1 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

View File

@ -3,4 +3,5 @@ product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./tests/tmt/plans/smoke}

12
tests/tmt/plans/main.fmf Normal file
View File

@ -0,0 +1,12 @@
---
prepare:
- name: Install coreos-installer package
how: install
package: coreos-installer
- name: Set COS_INSTALLER_BIN_DIR when installed package
how: shell
script: |
set -x -e -o pipefail
echo "COS_INSTALLER_BIN_DIR=/usr/bin" > /tmp/cos_installer_bin_dir

12
tests/tmt/plans/smoke.fmf Normal file
View File

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