96cd11a
Name:          standard-test-roles
8ac5216
Version:       3.0
981e303
Release:       2%{?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
8ac5216
Requires:      ansible-python3 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
96cd11a
%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
981e303
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-2
981e303
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
981e303
8ac5216
* Wed Jan 02 2019 Andrei Stepanov <astepano@redhat.com> - 3.0-1
8ac5216
- Build with the latest merged PRs.
8ac5216
e4dedd9
* Thu Sep 20 2018 Andrei Stepanov <astepano@redhat.com> - 2.17-1
e4dedd9
- Build with the latest merged PRs.
e4dedd9
6c57806
* Mon Sep 03 2018 Andrei Stepanov <astepano@redhat.com> - 2.16-1
6c57806
- Build with the latest merged PRs.
6c57806
52fcf8f
* Mon Aug 20 2018 Andrei Stepanov <astepano@redhat.com> - 2.15-1
52fcf8f
- Build with the latest merged PRs.
52fcf8f
048974e
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.14-2
048974e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
048974e
420991e
* Fri Jun 29 2018 Andrei Stepanov <astepano@redhat.com> - 2.14-1
420991e
- Build with the latest merged PRs.
420991e
f8bed85
* Fri May 25 2018 Andrei Stepanov <astepano@redhat.com> - 2.13-2
f8bed85
- Build with the latest merged PRs.
f8bed85
47ff20c
* Wed May 23 2018 Andrei Stepanov <astepano@redhat.com> - 2.12-1
47ff20c
- Build with the latest merged PRs.
47ff20c
3f34e24
* Mon May 21 2018 Andrei Stepanov <astepano@redhat.com> - 2.11-1
3f34e24
- Build with the latest merged PRs.
3f34e24
a4ff918
* Mon Apr 23 2018 Andrei Stepanov <astepano@redhat.com> - 2.10-1
a4ff918
- Build with the latest merged PRs.
a4ff918
514ce7b
* Wed Mar 07 2018 Andrei Stepanov <astepano@redhat.com> - 2.9-1
514ce7b
- Build with the latest merged PRs.
514ce7b
ffec816
* Tue Feb 13 2018 Andrei Stepanov <astepano@redhat.com> - 2.8-1
ffec816
- Build with the latest merged PRs.
ffec816
5fccf36
* Mon Feb 12 2018 Andrei Stepanov <astepano@redhat.com> - 2.7-2
5fccf36
- Fix changelog entry.
5fccf36
5fccf36
* Mon Feb 12 2018 Andrei Stepanov <astepano@redhat.com> - 2.7-1
bfd1183
- Build with the latest merged PRs.
bfd1183
493b76b
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-3
493b76b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
493b76b
e09e2bf
* Tue Jan 23 2018 Andrei Stepanov <astepano@redhat.com> - 2.6-2
e09e2bf
- Build with the latest merged PRs.
e09e2bf
b2a3f7b
* Wed Nov 15 2017 Andrei Stepanov <astepano@redhat.com> - 2.5-1
b2a3f7b
- Pkg build with the latest merged PRs.
b2a3f7b
91139a1
* Thu Aug 17 2017 Merlin Mathesius <mmathesi@redhat.com> - 2.4-1
91139a1
- Sync with upstream release 2.4
91139a1
- Bug fix in rhts role
91139a1
7fbe311
* Wed Aug 09 2017 Merlin Mathesius <mmathesi@redhat.com> - 2.3-1
7fbe311
- Sync with upstream release 2.3
7fbe311
- Adds merge-standard-inventory
7fbe311
f14841d
* Fri Jul 28 2017 Merlin Mathesius <mmathesi@redhat.com> - 2.1-1
f14841d
- Sync with upstream release 2.1
f14841d
- Add package dependencies for docker, genisoimage, and qemu-system-x86
f14841d
  needed by dynamic inventory scripts
f14841d
04f1995
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-2
04f1995
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
04f1995
0997ac8
* Fri Jul 21 2017 Merlin Mathesius <mmathesi@redhat.com> - 2.0-1
0997ac8
- Sync with upstream release 2.0.
0997ac8
- Add dynamic inventory scripts for qcow2, docker, rpm, and local
0997ac8
7162044
* Fri Jul 07 2017 Merlin Mathesius <mmathesi@redhat.com> - 1.0-1
7162044
- Sync with upstream release 1.0.
7162044
- Rework beakerlib and cloud roles to work on Atomic Hosts
7162044
- Update standard-test-selector role for Atomic Host
7162044
- Update docker and rhts roles to be compatible with revised cloud and beakerlib roles
7162044
5bcae91
* Mon Jun 19 2017 Merlin Mathesius <mmathesi@redhat.com> - 0.5-1
5bcae91
- Sync with upstream release 0.5.
5bcae91
e8b1e0d
* Mon Jun 05 2017 Merlin Mathesius <mmathesi@redhat.com> - 0.4-1
e8b1e0d
- Sync with upstream release 0.4.
e8b1e0d
96cd11a
* Wed May 03 2017 Merlin Mathesius <mmathesi@redhat.com> - 0.3-1
96cd11a
- Sync with upstream release 0.3.
96cd11a
96cd11a
* Tue May 02 2017 Merlin Mathesius <mmathesi@redhat.com> - 0.2-2
96cd11a
- Updates based on review feedback.
96cd11a
96cd11a
* Thu Apr 27 2017 Merlin Mathesius <mmathesi@redhat.com> - 0.2-1
96cd11a
- Sync with upstream release 0.2.
96cd11a
96cd11a
* Wed Apr 26 2017 Merlin Mathesius <mmathesi@redhat.com> - 0.1-1
96cd11a
- Initial packaging for Fedora.