Add gating definition for RHEL 9

Related: rhbz#1947473

Signed-off-by: Kaleemullah Siddiqui <ksiddiqu@redhat.com>
This commit is contained in:
Kaleemullah Siddiqui 2021-06-09 18:49:38 +05:30
parent 4bf918e37a
commit e1d176e66c
3 changed files with 57 additions and 0 deletions

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

10
tests/driver/runtest.sh Normal file
View File

@ -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)

41
tests/tests.yml Normal file
View File

@ -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