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 b32a76a..162483e 100644 --- a/gating.yaml +++ b/gating.yaml @@ -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 diff --git a/plans/main.fmf b/plans/main.fmf new file mode 100644 index 0000000..ef0de34 --- /dev/null +++ b/plans/main.fmf @@ -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 + diff --git a/plans/smoke.fmf b/plans/smoke.fmf new file mode 100644 index 0000000..726747f --- /dev/null +++ b/plans/smoke.fmf @@ -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 +