|
|
|
@@ -1,14 +1,13 @@
|
|
|
|
|
Name: testcloud
|
|
|
|
|
# Update also version in testcloud/__init__.py and docs/source/conf.py when changing this!
|
|
|
|
|
Version: 0.9.12
|
|
|
|
|
Version: 0.9.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Tool for running cloud images locally
|
|
|
|
|
|
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://pagure.io/testcloud
|
|
|
|
|
Source0: https://releases.pagure.org/testcloud/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{kernel_arches} noarch
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
# Ensure we can create the testcloud group
|
|
|
|
@@ -40,7 +39,6 @@ BuildRequires: python3-requests
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
|
|
|
|
|
Requires: genisoimage
|
|
|
|
|
Requires: libvirt-daemon
|
|
|
|
|
Requires: libvirt-daemon-config-network
|
|
|
|
|
Requires: libvirt-daemon-driver-qemu
|
|
|
|
|
Requires: libvirt-daemon-driver-storage-core
|
|
|
|
@@ -59,7 +57,7 @@ Python 3 interface to testcloud.
|
|
|
|
|
getent group testcloud >/dev/null || groupadd testcloud
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
# Drop coverage testing
|
|
|
|
|
sed -i 's/ --cov-report=term-missing --cov testcloud//g' tox.ini
|
|
|
|
|
|
|
|
|
@@ -98,7 +96,7 @@ mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
|
|
|
|
|
install conf/testcloud-bash %{buildroot}%{_datadir}/bash-completion/completions/testcloud
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
# %%pytest
|
|
|
|
|
%pytest
|
|
|
|
|
# Remove compiled .py files from /etc after os_install_post
|
|
|
|
|
rm -f %{buildroot}%{_sysconfdir}/testcloud/*.py{c,o}
|
|
|
|
|
rm -rf %{buildroot}%{_sysconfdir}/testcloud/__pycache__
|
|
|
|
@@ -126,44 +124,6 @@ rm -rf %{buildroot}%{_sysconfdir}/testcloud/__pycache__
|
|
|
|
|
%{python3_sitelib}/*.egg-info
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Feb 29 2024 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.9.12-1
|
|
|
|
|
- Fixup cli
|
|
|
|
|
|
|
|
|
|
* Tue Feb 27 2024 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.9.11-1
|
|
|
|
|
- virtiofs integration
|
|
|
|
|
- add serial param (lnie)
|
|
|
|
|
- add nic_number param (lnie)
|
|
|
|
|
- cli: Add StrictHostKeyChecking=no and UserKnownHostsFile=/dev/null to the suggested cmdline
|
|
|
|
|
- tpm: Support version 1.2 too in the api
|
|
|
|
|
- cli: Convert to domain_api/v2, drop v1 codepaths
|
|
|
|
|
|
|
|
|
|
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.10-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Dec 11 2023 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.9.10-2
|
|
|
|
|
- Require libvirt-daemon as it's no longer pulled in indirectly
|
|
|
|
|
|
|
|
|
|
* Mon Sep 04 2023 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.9.10-1
|
|
|
|
|
- configuration abstraction (domain/apiv2 by lbrabec)
|
|
|
|
|
- Add workaround for Ubuntu
|
|
|
|
|
- Remove compatibility code for tmt < 1.22
|
|
|
|
|
- Drop long deprecated find_vm_ip from cli
|
|
|
|
|
- Always try to run dhclient in cloud-init
|
|
|
|
|
- Clarify that testcloud runs VMs and no containers (Anatoli Babenia)
|
|
|
|
|
- Support Fedora OpenStack images handling
|
|
|
|
|
- [Domain API] Cleanups, fixes, refactors, Part 1/n
|
|
|
|
|
- [Domain API] Cleanups, fixes, refactors, Part 2/n
|
|
|
|
|
- Downloader: support unknown file sizes, add retry mechanism
|
|
|
|
|
- domain/apiv2: Fix CoreOS
|
|
|
|
|
- Instance: inherit coreos param too for DomainConfiguration
|
|
|
|
|
- Storage: provide domain/apiv2 facilities for storage sizing, refactor
|
|
|
|
|
|
|
|
|
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 0.9.2-2
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Wed Mar 22 2023 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.9.2-1
|
|
|
|
|
- Unbreak python <3.9
|
|
|
|
|
|
|
|
|
|