| |
@@ -0,0 +1,169 @@
|
| |
+ Name: standard-test-roles
|
| |
+ Version: 3.2
|
| |
+ 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-python3 fmf
|
| |
+ # 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
|
| |
+ Requires: standard-test-roles-inventory-qemu
|
| |
+
|
| |
+ %description
|
| |
+ Shared Ansible roles to support the Standard Test Interface as described
|
| |
+ at %{url}.
|
| |
+
|
| |
+ %package inventory-qemu
|
| |
+ Summary: Inventory provisioner for using plain qemu command
|
| |
+ Requires: qemu-system-x86
|
| |
+ Requires: genisoimage
|
| |
+ Requires: python3-fmf
|
| |
+ %description inventory-qemu
|
| |
+ Creates ansible inventory. Implements provisioner for qemu where test subject
|
| |
+ is vm image.
|
| |
+
|
| |
+ %package inventory-docker
|
| |
+ Summary: Inventory provisioner for using docker
|
| |
+ Requires: docker
|
| |
+ %description inventory-docker
|
| |
+ Creates ansible inventory. Implements provisioner for docker where test
|
| |
+ subject is docker containers.
|
| |
+
|
| |
+ %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
|
| |
+ install -p -m 0755 scripts/str-filter-tests %{buildroot}/%{_bindir}/str-filter-tests
|
| |
+ install -p -m 0755 scripts/qcow2-grow %{buildroot}/%{_bindir}/qcow2-grow
|
| |
+ 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
|
| |
+ %{_bindir}/str-filter-tests
|
| |
+ %{_datadir}/ansible/inventory/standard-inventory-local
|
| |
+ %{_datadir}/ansible/inventory/standard-inventory-rpm
|
| |
+
|
| |
+ %files inventory-qemu
|
| |
+ %{_bindir}/qcow2-grow
|
| |
+ %{_datadir}/ansible/inventory/standard-inventory-qcow2
|
| |
+
|
| |
+ %files inventory-docker
|
| |
+ %{_datadir}/ansible/inventory/standard-inventory-docker
|
| |
+
|
| |
+ %changelog
|
| |
+ * Tue Mar 19 2019 Andrei Stepanov <astepano@redhat.com> - 3.2-1
|
| |
+ - Build with the latest merged PRs.
|
| |
+
|
| |
+ * Thu Feb 14 2019 Andrei Stepanov <astepano@redhat.com> - 3.1-1
|
| |
+ - Build with the latest merged PRs.
|
| |
+
|
| |
+ * Wed Jan 02 2019 Andrei Stepanov <astepano@redhat.com> - 3.0-1
|
| |
+ - Build with the latest merged PRs.
|
| |
+
|
| |
+ * Thu Sep 20 2018 Andrei Stepanov <astepano@redhat.com> - 2.17-1
|
| |
+ - Build with the latest merged PRs.
|
| |
+
|
| |
+ * Mon Sep 03 2018 Andrei Stepanov <astepano@redhat.com> - 2.16-1
|
| |
+ - Build with the latest merged PRs.
|
| |
+
|
| |
+ * Mon Aug 20 2018 Andrei Stepanov <astepano@redhat.com> - 2.15-1
|
| |
+ - Build with the latest merged PRs.
|
| |
+
|
| |
+ * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.14-2
|
| |
+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
| |
+
|
| |
+ * Fri Jun 29 2018 Andrei Stepanov <astepano@redhat.com> - 2.14-1
|
| |
+ - Build with the latest merged PRs.
|
| |
+
|
| |
+ * Fri May 25 2018 Andrei Stepanov <astepano@redhat.com> - 2.13-2
|
| |
+ - Build with the latest merged PRs.
|
| |
+
|
| |
+ * Wed May 23 2018 Andrei Stepanov <astepano@redhat.com> - 2.12-1
|
| |
+ - Build with the latest merged PRs.
|
| |
+
|
| |
+ * Mon May 21 2018 Andrei Stepanov <astepano@redhat.com> - 2.11-1
|
| |
+ - Build with the latest merged PRs.
|
| |
+
|
| |
+ * 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.
|
| |
This pull requests enables upstream STR to use packit.
I have tested these three packit commands:
packit propose-update
to create a dist-git PR with the latest upstream release, documentationpackit srpm
creates a new SRPM out of the current state of the upstream repository (using git describe for version), documentationpackit sync-from-downstream --no-pr
to pull content from the downstream repo back to upstream (e.g. when rel-eng does mass rebuild) documentationI was running packit from git: I needed this PR. We will release packit 0.3.0 later this week and the release should include the PR.
Why should you care about this? I took a look at package_howto.md and with packit, you can remove like half of the steps now. Once we implement more in packit, the expectation is that you'll have to do very little to bring new upstream releases to Fedora.