From 2cf525413f43d4b5c13647e0baca39a37b3b20a9 Mon Sep 17 00:00:00 2001 From: Scott Poore Date: Mon, 28 Jun 2021 15:56:40 -0500 Subject: [PATCH] Enable gating for RHEL9. Resolves: rhbz#1977068 --- gating.yaml | 6 ++++++ tests/.fmf/version | 1 + tests/provision.fmf | 5 +++++ tests/scripts/run_tests.sh | 13 +++++++++++++ tests/tests.yml | 12 ++++++++++++ 5 files changed, 37 insertions(+) create mode 100644 gating.yaml create mode 100644 tests/.fmf/version create mode 100644 tests/provision.fmf create mode 100644 tests/scripts/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/.fmf/version b/tests/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/tests/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/tests/provision.fmf b/tests/provision.fmf new file mode 100644 index 0000000..9b64bb6 --- /dev/null +++ b/tests/provision.fmf @@ -0,0 +1,5 @@ +--- +standard-inventory-qcow2: + qemu: + m: 3G + smp: 2 diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh new file mode 100644 index 0000000..f5b4d1b --- /dev/null +++ b/tests/scripts/run_tests.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +export GIT_SSL_NO_VERIFY=true +#git clone -b RHEL9.0 https://gitlab.cee.redhat.com/idm-qe/mod_auth_mellon.git +git clone -b add_federation_tests https://github.com/spoore1/federation_testing.git + +cd federation_testing +if [ ! -d /tmp/artifacts ]; then + mkdir -p /tmp/artifacts +fi + +./setup.sh +./test_mellon.sh diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..8763ff5 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,12 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - mod_auth_mellon: + dir: scripts + run: ./run_tests.sh + required_packages: + - git +