Add gating tests
This commit is contained in:
parent
6e63f5c7d4
commit
414ca4e729
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}
|
21
plans/all.fmf
Normal file
21
plans/all.fmf
Normal file
@ -0,0 +1,21 @@
|
||||
summary: Run gating tests
|
||||
discover:
|
||||
how: fmf
|
||||
dist-git-source: true
|
||||
dist-git-type: centos
|
||||
prepare:
|
||||
- how: install
|
||||
package:
|
||||
- dnf-plugins-core
|
||||
- how: shell
|
||||
script: /usr/bin/crb enable
|
||||
- how: install
|
||||
package:
|
||||
- xmlsec1
|
||||
- git
|
||||
- how: shell
|
||||
script: dnf config-manager --disable epel*
|
||||
|
||||
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 xmlsec1 gating tests
|
||||
require:
|
||||
- git
|
||||
test: ./run_tests.sh
|
||||
duration: 30m
|
||||
|
12
tests/scripts/run_tests.sh
Normal file
12
tests/scripts/run_tests.sh
Normal 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_xmlsec.sh
|
12
tests/tests.yml
Normal file
12
tests/tests.yml
Normal file
@ -0,0 +1,12 @@
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tags:
|
||||
- classic
|
||||
tests:
|
||||
- xmlsec1:
|
||||
dir: scripts
|
||||
run: ./run_tests.sh
|
||||
required_packages:
|
||||
- git
|
||||
|
@ -1,7 +1,7 @@
|
||||
Summary: Library providing support for "XML Signature" and "XML Encryption" standards
|
||||
Name: xmlsec1
|
||||
Version: 1.2.39
|
||||
Release: 1%{?dist}%{?extra_release}
|
||||
Release: 2%{?dist}%{?extra_release}
|
||||
Epoch: 1
|
||||
License: MIT
|
||||
Source0: https://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.tar.gz
|
||||
@ -128,12 +128,15 @@ mv %{buildroot}%{_docdir}/xmlsec1/* __tmp_doc
|
||||
%{_libdir}/pkgconfig/xmlsec1-nss.pc
|
||||
|
||||
%changelog
|
||||
* Tue Jul 30 2024 Tomas Halman <thalman@redhat.com> - 1.2.39-2
|
||||
- Add gating tests
|
||||
|
||||
* Mon Jul 29 2024 Tomas Halman <thalman@redhat.com> - 1.2.39-1
|
||||
- Resolves: RHEL-46771
|
||||
Rebase to version 1.2.39
|
||||
Fix openssl engine dependency
|
||||
Stop building gcrypt and gnutls implementations
|
||||
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1:1.2.37-8
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user