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..dc96d56 --- /dev/null +++ b/tests/driver/runtest.sh @@ -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())' diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..3c1aff3 --- /dev/null +++ b/tests/tests.yml @@ -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