Compare commits

..

No commits in common. "c8s" and "c9s" have entirely different histories.
c8s ... c9s

5 changed files with 70 additions and 11 deletions

View File

@ -2,7 +2,7 @@
product_versions: product_versions:
- rhel-8 - rhel-9
decision_context: osci_compose_gate decision_context: osci_compose_gate

View File

@ -1,6 +1,6 @@
Name: rpm-mpi-hooks Name: rpm-mpi-hooks
Version: 8 Version: 8
Release: 2%{?dist} Release: 3%{?dist}
Summary: RPM dependency generator hooks for MPI packages Summary: RPM dependency generator hooks for MPI packages
License: MIT License: MIT
@ -46,18 +46,44 @@ install -Dpm 0755 %{SOURCE3} %{buildroot}%{_rpmconfigdir}/mpi.req
%changelog %changelog
* Tue May 18 2021 Honggang Li <honli@redhat.com> - 8-2 * Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 8-3
- Rebuilt after building tool chain update - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
- Resolves: rhbz#1924665 Related: rhbz#1991688
* Wed Apr 07 2021 Honggang Li <honli@redhat.com> - 8-1 * Fri Jul 02 2021 Honggang Li <honli@redhat.com> - 8-2
- Sync with latest Fedora repo - Sync with latest Fedora repo
- Resolves: rhbz#1924665 - Resolves: rhbz#1972736
* Thu Sep 13 2018 Jarod Wilson <jarod@redhat.com> - 5-4 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 7-2
- Make hooks more resilient to missing info - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
- Error out with a useful message when necessary info isn't there
- Resolves: rhbz#1627122 * Thu Feb 18 2021 Sandro Mani <manisandro@gmail.com> 7-1
- Fix left-over argument shift in mpi.prov and mpi.req (#1930096)
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Nov 15 2019 Orion Poplawski <orion@nwra.com> - 6-4
- Allow for no MPI_PYTHON{2}_SITEARCH
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Dec 4 2018 Orion Poplawski <orion@nwra.com> - 6-1
- Avoid trying to load mpi/ directory as a module
- Handle old MPI_PYTHON_SITEARCH and MPI_PYTHON3_SITEARCH conditionally for EL7
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5-3 * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

10
tests/run_tests.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
# when running this in 1minutetip the PATH must be specified to execute
# in the local directory.
echo "Setting path to local directory"
PATH=$PATH:$(pwd)
# simple sanity test
sanity.sh
exit $?

12
tests/sanity.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
#
# This is a simple sanity test to satisfy the RHEL8.1 onboard gating
# requirement.
ret=1
if [ -e /usr/lib/rpm/mpi.prov ] && [ -e /usr/lib/rpm/mpi.req ]; then
ret=0
fi
exit $ret

11
tests/tests.yml Normal file
View File

@ -0,0 +1,11 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- simple:
dir: . # switch to subfolder. This parameter is REQUIRED, use `dir: .` for current folder
run: ./run_tests.sh # this is your test command, its exit code is the outcome of the test
required_packages:
- rpm-mpi-hooks