|
|
96cd11a |
Name: standard-test-roles
|
|
|
af2554d |
Version: 4.10
|
|
|
eda3335 |
Release: 1%{?dist}
|
|
|
96cd11a |
Summary: Standard Test Interface Ansible roles
|
|
|
96cd11a |
|
|
|
96cd11a |
License: MIT
|
|
|
96cd11a |
URL: https://fedoraproject.org/wiki/Changes/InvokingTestsAnsible
|
|
|
96cd11a |
Source0: http://releases.pagure.org/%{name}/%{name}-%{version}.tar.gz
|
|
|
96cd11a |
|
|
|
96cd11a |
BuildArch: noarch
|
|
|
96cd11a |
BuildRequires: coreutils
|
|
|
f97b7b1 |
Requires: ansible fmf
|
|
|
514ce7b |
# We want the real ssh for Ansible, otherwise it may fall back to paramiko
|
|
|
514ce7b |
# which doesn't work in a whole lot of scenarios. Ref: PR1 for STR.
|
|
Colin Walters |
5bae07d |
Requires: openssh-clients
|
|
|
8ac5216 |
Requires: standard-test-roles-inventory-qemu
|
|
|
f14841d |
|
|
|
96cd11a |
%description
|
|
|
96cd11a |
Shared Ansible roles to support the Standard Test Interface as described
|
|
|
96cd11a |
at %{url}.
|
|
|
96cd11a |
|
|
|
8ac5216 |
%package inventory-qemu
|
|
|
8ac5216 |
Summary: Inventory provisioner for using plain qemu command
|
|
|
8ac5216 |
Requires: qemu-system-x86
|
|
|
8ac5216 |
Requires: genisoimage
|
|
|
8ac5216 |
Requires: python3-fmf
|
|
|
8ac5216 |
%description inventory-qemu
|
|
|
8ac5216 |
Creates ansible inventory. Implements provisioner for qemu where test subject
|
|
|
8ac5216 |
is vm image.
|
|
|
8ac5216 |
|
|
|
8ac5216 |
%package inventory-docker
|
|
|
8ac5216 |
Summary: Inventory provisioner for using docker
|
|
|
8ac5216 |
Requires: docker
|
|
|
8ac5216 |
%description inventory-docker
|
|
|
8ac5216 |
Creates ansible inventory. Implements provisioner for docker where test
|
|
|
8ac5216 |
subject is docker containers.
|
|
|
96cd11a |
|
|
|
96cd11a |
%prep
|
|
|
ed0a4fc |
%autosetup
|
|
|
96cd11a |
|
|
|
96cd11a |
%build
|
|
|
96cd11a |
|
|
|
96cd11a |
%install
|
|
|
a4ff918 |
mkdir -p %{buildroot}%{_datadir}/ansible/roles
|
|
|
a4ff918 |
cp -pr roles/* %{buildroot}%{_datadir}/ansible/roles/
|
|
|
7fbe311 |
mkdir -p %{buildroot}/%{_bindir}
|
|
|
7fbe311 |
install -p -m 0755 scripts/merge-standard-inventory %{buildroot}/%{_bindir}/merge-standard-inventory
|
|
|
6c57806 |
install -p -m 0755 scripts/str-filter-tests %{buildroot}/%{_bindir}/str-filter-tests
|
|
|
6c57806 |
install -p -m 0755 scripts/qcow2-grow %{buildroot}/%{_bindir}/qcow2-grow
|
|
|
0997ac8 |
mkdir -p %{buildroot}%{_datadir}/ansible/inventory
|
|
|
0997ac8 |
cp -p inventory/* %{buildroot}%{_datadir}/ansible/inventory/
|
|
|
0997ac8 |
|
|
|
96cd11a |
%files
|
|
|
96cd11a |
%license LICENSE
|
|
|
96cd11a |
%doc README.md
|
|
|
a4ff918 |
%config %{_datadir}/ansible/roles/*
|
|
|
7fbe311 |
%{_bindir}/merge-standard-inventory
|
|
|
6c57806 |
%{_bindir}/str-filter-tests
|
|
|
8ac5216 |
%{_datadir}/ansible/inventory/standard-inventory-local
|
|
|
8ac5216 |
%{_datadir}/ansible/inventory/standard-inventory-rpm
|
|
|
8ac5216 |
|
|
|
8ac5216 |
%files inventory-qemu
|
|
|
6c57806 |
%{_bindir}/qcow2-grow
|
|
|
8ac5216 |
%{_datadir}/ansible/inventory/standard-inventory-qcow2
|
|
|
96cd11a |
|
|
|
8ac5216 |
%files inventory-docker
|
|
|
8ac5216 |
%{_datadir}/ansible/inventory/standard-inventory-docker
|
|
|
96cd11a |
|
|
|
96cd11a |
%changelog
|
|
|
af2554d |
* Thu Jan 07 2021 Andrei Stepanov <astepano@redhat.com> - 4.10-1
|
|
|
af2554d |
- Build with the latest merged PRs.
|
|
|
af2554d |
|
|
|
eda3335 |
* Fri Oct 02 2020 Andrei Stepanov <astepano@redhat.com> - 4.9-1
|
|
|
eda3335 |
- Build with the latest merged PRs.
|
|
|
eda3335 |
|
|
|
d2130c5 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.8-2
|
|
|
d2130c5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
d2130c5 |
|
|
|
88624e7 |
* Thu Jul 09 2020 Andrei Stepanov <astepano@redhat.com> - 4.8-1
|
|
|
d7438f9 |
- Build with the latest merged PRs.
|