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/driver/runtest.sh b/tests/driver/runtest.sh new file mode 100644 index 0000000..3395709 --- /dev/null +++ b/tests/driver/runtest.sh @@ -0,0 +1,10 @@ +#!/bin/sh -ex + +cd ../source + +# Fake a build... +mkdir -p src/.libs +cp /usr/lib64/httpd/modules/mod_auth_gssapi.so src/.libs + +# ... and run the tests. +./tests/magtests.py || (cat scratchdir/tests.log scratchdir/httpd/logs/error_log ; exit -1) diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..9e8a4d0 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,41 @@ +--- +- hosts: localhost + tags: classic + tasks: + - name: Grab EPEL + shell: dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm + args: + warn: false + +- hosts: localhost + tags: classic + tasks: + - name: Life is short + shell: dnf -y builddep mod_auth_gssapi + args: + warn: false + +- hosts: localhost + roles: + - role: standard-test-source + tags: + - always + - role: standard-test-basic + tags: + - atomic + - classic + required_packages: + - gcc + - libfaketime + - krb5-devel + - krb5-pkinit + - krb5-server + - krb5-workstation + - mod_auth_gssapi # wut + - mod_session + - nss_wrapper + - python3-requests-gssapi + - python3-virtualenv + - socket_wrapper + tests: + - driver