From bd8756cb6177b72bd08ca351ab0fe194723851ca Mon Sep 17 00:00:00 2001 From: Honggang Li Date: Tue, 27 Jul 2021 04:57:50 -0400 Subject: [PATCH] Add gating test Related: rhbz#1858571 Signed-off-by: Honggang Li --- gating.yaml | 6 ++++++ tests/run_tests.sh | 3 +++ tests/tests.yml | 11 +++++++++++ 3 files changed, 20 insertions(+) create mode 100644 gating.yaml create mode 100644 tests/run_tests.sh create mode 100644 tests/tests.yml diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..648918d --- /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/run_tests.sh b/tests/run_tests.sh new file mode 100644 index 0000000..8c3cbfc --- /dev/null +++ b/tests/run_tests.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +exit 0 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..7dcc1fe --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,11 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - simple: + dir: . # switch to subfolder. This parameter is REQUIRED, use `dir: .` for current folder + run: ./run_tests.sh # this is your test command, its exit code is the outcome of the test + required_packages: + - ucx