From bc5d8fb0556334fb2bc33289edb287808f79aae2 Mon Sep 17 00:00:00 2001 From: Honggang Li Date: Tue, 27 Jul 2021 05:08:31 -0400 Subject: [PATCH] Add gating test Resolves: rhbz#1919019 Signed-off-by: Honggang Li --- gating.yaml | 6 ++++++ tests/runme.sh | 8 ++++++++ tests/tests.yml | 12 ++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 gating.yaml create mode 100644 tests/runme.sh create mode 100644 tests/tests.yml diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..9d4695d --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-9 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/tests/runme.sh b/tests/runme.sh new file mode 100644 index 0000000..4495a54 --- /dev/null +++ b/tests/runme.sh @@ -0,0 +1,8 @@ +#!/bin/bash +set -x + +# This is a workaround for eth-tools OSCI gating test. Until OSCI +# support submit test to designated beaker machines, which have the +# hardware for eth-tools, we can't run OSCI test for eth-tools. + +exit 0 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..af26087 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,12 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - simple: + dir: . + run: ./runme.sh + required_packages: + - eth-tools-basic + - eth-tools-fastfabric