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 index 4ca9235..3178456 100644 --- a/gating.yaml +++ b/gating.yaml @@ -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} + diff --git a/tests/tmt/plans/main.fmf b/tests/tmt/plans/main.fmf new file mode 100644 index 0000000..e52701a --- /dev/null +++ b/tests/tmt/plans/main.fmf @@ -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 + diff --git a/tests/tmt/plans/smoke.fmf b/tests/tmt/plans/smoke.fmf new file mode 100644 index 0000000..bcd8ba0 --- /dev/null +++ b/tests/tmt/plans/smoke.fmf @@ -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 +