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:
parent
4654b63ae6
commit
9f0780dedc
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
@ -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
12
tests/tmt/plans/main.fmf
Normal 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
12
tests/tmt/plans/smoke.fmf
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user