Add gating and tmt configs
This commit is contained in:
parent
9861633207
commit
a0b6bbfa9b
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-10
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
16
plans/all.fmf
Normal file
16
plans/all.fmf
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
summary: Run gating tests
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
dist-git-source: true
|
||||||
|
dist-git-type: centos
|
||||||
|
prepare:
|
||||||
|
- how: install
|
||||||
|
package:
|
||||||
|
- dnf-plugins-core
|
||||||
|
- how: install
|
||||||
|
package:
|
||||||
|
- keycloak-httpd-client-install
|
||||||
|
- git
|
||||||
|
|
||||||
|
execute:
|
||||||
|
how: tmt
|
5
tests/provision.fmf
Normal file
5
tests/provision.fmf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
standard-inventory-qcow2:
|
||||||
|
qemu:
|
||||||
|
m: 3G
|
||||||
|
smp: 2
|
6
tests/scripts/main.fmf
Normal file
6
tests/scripts/main.fmf
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
summary: Run keycloak-httpd-client-install gating tests
|
||||||
|
require:
|
||||||
|
- keycloak-httpd-client-install
|
||||||
|
- git
|
||||||
|
test: ./run_tests.sh
|
||||||
|
duration: 30m
|
12
tests/scripts/run_tests.sh
Executable file
12
tests/scripts/run_tests.sh
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
export GIT_SSL_NO_VERIFY=true
|
||||||
|
git clone https://github.com/latchset/federation_testing.git
|
||||||
|
|
||||||
|
cd federation_testing
|
||||||
|
if [ ! -d /tmp/artifacts ]; then
|
||||||
|
mkdir -p /tmp/artifacts
|
||||||
|
fi
|
||||||
|
|
||||||
|
./setup.sh
|
||||||
|
./test_khci.sh
|
13
tests/tests.yml
Normal file
13
tests/tests.yml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
tests:
|
||||||
|
- keycloak-httpd-client-install:
|
||||||
|
dir: scripts
|
||||||
|
run: ./run_tests.sh
|
||||||
|
required_packages:
|
||||||
|
- keycloak-httpd-client-install
|
||||||
|
- git
|
||||||
|
|
Loading…
Reference in New Issue
Block a user