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 +