Blob Blame History Raw
Name:          standard-test-roles
Version:       2.10
Release:       1%{?dist}
Summary:       Standard Test Interface Ansible roles

License:       MIT
URL:           https://fedoraproject.org/wiki/Changes/InvokingTestsAnsible
Source0:       http://releases.pagure.org/%{name}/%{name}-%{version}.tar.gz

BuildArch:     noarch
BuildRequires: coreutils
Requires:      ansible
# We want the real ssh for Ansible, otherwise it may fall back to paramiko
# which doesn't work in a whole lot of scenarios. Ref: PR1 for STR.
Requires:      openssh-clients

%if 0%{?fedora} >= 24 || 0%{?rhel} >= 8
Recommends:    docker
Recommends:    genisoimage
Recommends:    qemu-system-x86
%else
Requires:      docker
Requires:      genisoimage
Requires:      qemu-system-x86
%endif

%description
Shared Ansible roles to support the Standard Test Interface as described
at %{url}.


%prep
%autosetup


%build


%install
mkdir -p %{buildroot}%{_datadir}/ansible/roles
cp -pr roles/* %{buildroot}%{_datadir}/ansible/roles/

mkdir -p %{buildroot}/%{_bindir}
install -p -m 0755 scripts/merge-standard-inventory %{buildroot}/%{_bindir}/merge-standard-inventory

mkdir -p %{buildroot}%{_datadir}/ansible/inventory
cp -p inventory/* %{buildroot}%{_datadir}/ansible/inventory/


%files
%license LICENSE
%doc README.md
%config %{_datadir}/ansible/roles/*
%{_bindir}/merge-standard-inventory
%{_datadir}/ansible/inventory/*


%changelog
* Mon Apr 23 2018 Andrei Stepanov <astepano@redhat.com> - 2.10-1
- Build with the latest merged PRs.

* Wed Mar 07 2018 Andrei Stepanov <astepano@redhat.com> - 2.9-1
- Build with the latest merged PRs.

* Tue Feb 13 2018 Andrei Stepanov <astepano@redhat.com> - 2.8-1
- Build with the latest merged PRs.

* Mon Feb 12 2018 Andrei Stepanov <astepano@redhat.com> - 2.7-2
- Fix changelog entry.

* Mon Feb 12 2018 Andrei Stepanov <astepano@redhat.com> - 2.7-1
- Build with the latest merged PRs.

* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Tue Jan 23 2018 Andrei Stepanov <astepano@redhat.com> - 2.6-2
- Build with the latest merged PRs.

* Wed Nov 15 2017 Andrei Stepanov <astepano@redhat.com> - 2.5-1
- Pkg build with the latest merged PRs.

* Thu Aug 17 2017 Merlin Mathesius <mmathesi@redhat.com> - 2.4-1
- Sync with upstream release 2.4
- Bug fix in rhts role

* Wed Aug 09 2017 Merlin Mathesius <mmathesi@redhat.com> - 2.3-1
- Sync with upstream release 2.3
- Adds merge-standard-inventory

* Fri Jul 28 2017 Merlin Mathesius <mmathesi@redhat.com> - 2.1-1
- Sync with upstream release 2.1
- Add package dependencies for docker, genisoimage, and qemu-system-x86
  needed by dynamic inventory scripts

* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Fri Jul 21 2017 Merlin Mathesius <mmathesi@redhat.com> - 2.0-1
- Sync with upstream release 2.0.
- Add dynamic inventory scripts for qcow2, docker, rpm, and local

* Fri Jul 07 2017 Merlin Mathesius <mmathesi@redhat.com> - 1.0-1
- Sync with upstream release 1.0.
- Rework beakerlib and cloud roles to work on Atomic Hosts
- Update standard-test-selector role for Atomic Host
- Update docker and rhts roles to be compatible with revised cloud and beakerlib roles

* Mon Jun 19 2017 Merlin Mathesius <mmathesi@redhat.com> - 0.5-1
- Sync with upstream release 0.5.

* Mon Jun 05 2017 Merlin Mathesius <mmathesi@redhat.com> - 0.4-1
- Sync with upstream release 0.4.

* Wed May 03 2017 Merlin Mathesius <mmathesi@redhat.com> - 0.3-1
- Sync with upstream release 0.3.

* Tue May 02 2017 Merlin Mathesius <mmathesi@redhat.com> - 0.2-2
- Updates based on review feedback.

* Thu Apr 27 2017 Merlin Mathesius <mmathesi@redhat.com> - 0.2-1
- Sync with upstream release 0.2.

* Wed Apr 26 2017 Merlin Mathesius <mmathesi@redhat.com> - 0.1-1
- Initial packaging for Fedora.