Missing tier0 gating tests added

Tier0 tests were part of RHEL8 which were
not added in RHEL9 in following
commit ec8195dd47
Now added with this change which will execute
the tier0 tests in osci

Related: rhbz#1947473

Signed-off-by: Kaleemullah Siddiqui <ksiddiqu@redhat.com>
This commit is contained in:
Kaleemullah Siddiqui 2021-06-21 17:53:39 +05:30
parent 9a5bbab0fe
commit e4b2de09ff
7 changed files with 45 additions and 0 deletions

View File

@ -4,4 +4,5 @@ product_versions:
- rhel-9 - rhel-9
decision_context: osci_compose_gate decision_context: osci_compose_gate
rules: rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: idm-ci.brew-build.tier1.functional} - !PassingTestCaseRule {test_case_name: idm-ci.brew-build.tier1.functional}

1
tests/.fmf/version Normal file
View File

@ -0,0 +1 @@
1

5
tests/provision.fmf Normal file
View File

@ -0,0 +1,5 @@
---
standard-inventory-qcow2:
qemu:
m: 3G

View File

@ -0,0 +1,8 @@
---
- name: Playbook to configure IPA servers
hosts: ipaserver
become: true
roles:
- role: ipaserver
state: present

10
tests/sanity/inventory Normal file
View File

@ -0,0 +1,10 @@
[ipaserver]
localhost
[ipaserver:vars]
ipaserver_domain=example.test
ipaserver_realm=EXAMPLE.TEST
ipaserver_setup_dns=yes
ipaserver_auto_forwarders=yes
ipaadmin_password=Secret123
ipadm_password=Secret123

6
tests/sanity/runtest.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/sh -eux
# Use pip3 to install ansible (2.9)
pip3 install "ansible>=2.9,<2.10"
ansible-playbook -i inventory install-server.yml -v --connection=local

14
tests/tests.yml Normal file
View File

@ -0,0 +1,14 @@
---
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-basic
required_packages:
- firewalld
# pip3 is used to install ansible 2.8+
#- ansible
required_services:
- firewalld
tests:
- sanity