Add gating definition for RHEL 9
Related: rhbz#1947473 Signed-off-by: Kaleemullah Siddiqui <ksiddiqu@redhat.com>
This commit is contained in:
parent
2e9c7009a6
commit
b2c3b0dab0
6
gating.yaml
Normal file
6
gating.yaml
Normal 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}
|
12
tests/driver/runtest.sh
Normal file
12
tests/driver/runtest.sh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash -ex
|
||||||
|
|
||||||
|
# Fake a build
|
||||||
|
rm -rf gssapi
|
||||||
|
cp -r /usr/lib64/python3.6/site-packages/gssapi gssapi
|
||||||
|
cd gssapi
|
||||||
|
|
||||||
|
# Do something awful
|
||||||
|
pip3 install nose{,-parameterized} shouldbe k5test
|
||||||
|
|
||||||
|
# And run the tests
|
||||||
|
exec python3 -c 'import nose; exit(nose.main())'
|
30
tests/tests.yml
Normal file
30
tests/tests.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
- hosts: localhost
|
||||||
|
tags: classic
|
||||||
|
tasks:
|
||||||
|
- name: Brew a warm one
|
||||||
|
shell: dnf config-manager --add-repo 'http://download.eng.bos.redhat.com/brewroot/repos/rhel-8.1.0-build/latest/x86_64/'
|
||||||
|
args:
|
||||||
|
warn: false
|
||||||
|
|
||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-source
|
||||||
|
tags:
|
||||||
|
- always
|
||||||
|
required_packages:
|
||||||
|
- git
|
||||||
|
- role: standard-test-basic
|
||||||
|
tags:
|
||||||
|
- atomic
|
||||||
|
- classic
|
||||||
|
required_packages:
|
||||||
|
- krb5-server
|
||||||
|
- krb5-workstation
|
||||||
|
- krb5-devel
|
||||||
|
- python3-gssapi
|
||||||
|
- python3-devel
|
||||||
|
- rpm-build
|
||||||
|
- gcc
|
||||||
|
tests:
|
||||||
|
- driver
|
Loading…
Reference in New Issue
Block a user