|
|
|
@@ -1,6 +1,6 @@
|
|
|
|
|
Name: testcloud
|
|
|
|
|
# Update also version in testcloud/__init__.py and docs/source/conf.py when changing this!
|
|
|
|
|
Version: 0.6.2
|
|
|
|
|
Version: 0.8.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Tool for running cloud images locally
|
|
|
|
|
|
|
|
|
@@ -35,19 +35,19 @@ BuildRequires: bash-completion
|
|
|
|
|
BuildRequires: python3-libvirt
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-jinja2
|
|
|
|
|
BuildRequires: python3-mock
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
BuildRequires: python3-pytest-cov
|
|
|
|
|
BuildRequires: python3-requests
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
|
|
|
|
|
Requires: libvirt
|
|
|
|
|
Requires: libguestfs-tools-c
|
|
|
|
|
Requires: genisoimage
|
|
|
|
|
Requires: libvirt-daemon-driver-qemu
|
|
|
|
|
Requires: libvirt-daemon-driver-storage-core
|
|
|
|
|
Requires: python3-requests
|
|
|
|
|
Requires: python3-libvirt
|
|
|
|
|
Requires: python3-jinja2
|
|
|
|
|
Requires: python3-libguestfs
|
|
|
|
|
Recommends: fcct
|
|
|
|
|
Recommends: butane
|
|
|
|
|
Suggests: python3-libguestfs
|
|
|
|
|
Suggests: libguestfs-tools-c
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{name}
|
|
|
|
|
Python 3 interface to testcloud.
|
|
|
|
@@ -58,6 +58,8 @@ getent group testcloud >/dev/null || groupadd testcloud
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
# Drop coverage testing
|
|
|
|
|
sed -i 's/ --cov-report=term-missing --cov testcloud//g' tox.ini
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
@@ -79,9 +81,6 @@ install -d %{buildroot}%{_sharedstatedir}/testcloud/
|
|
|
|
|
# Install domain jinja template for libvirt to import
|
|
|
|
|
install conf/domain-template.jinja %{buildroot}/%{_sharedstatedir}/testcloud/domain-template.jinja
|
|
|
|
|
|
|
|
|
|
# Install domain jinja coreos template for libvirt to import
|
|
|
|
|
install conf/domain-coreos-template.jinja %{buildroot}/%{_sharedstatedir}/testcloud/domain-coreos-template.jinja
|
|
|
|
|
|
|
|
|
|
# backingstores dir
|
|
|
|
|
install -d %{buildroot}/%{_sharedstatedir}/testcloud/backingstores
|
|
|
|
|
|
|
|
|
@@ -112,7 +111,6 @@ rm -rf %{buildroot}%{_sysconfdir}/testcloud/__pycache__
|
|
|
|
|
%dir %attr(0775, qemu, testcloud) %{_sharedstatedir}/testcloud/backingstores
|
|
|
|
|
%dir %attr(0775, qemu, testcloud) %{_sharedstatedir}/testcloud/instances
|
|
|
|
|
%attr(0764, qemu, testcloud) %{_sharedstatedir}/testcloud/domain-template.jinja
|
|
|
|
|
%attr(0764, qemu, testcloud) %{_sharedstatedir}/testcloud/domain-coreos-template.jinja
|
|
|
|
|
|
|
|
|
|
%attr(0644, root, root) %{_sysconfdir}/polkit-1/rules.d/99-testcloud-nonroot-libvirt-access.rules
|
|
|
|
|
|
|
|
|
@@ -126,6 +124,55 @@ rm -rf %{buildroot}%{_sysconfdir}/testcloud/__pycache__
|
|
|
|
|
%{python3_sitelib}/*.egg-info
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Dec 02 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.8.2-1
|
|
|
|
|
- CentOS Stream {8,9}: bump image version
|
|
|
|
|
- Leave boot drive address guessing to libvirt
|
|
|
|
|
- Workaround libvirt/qemu PCI auto-assign issue
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jun 30 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.8.1-1
|
|
|
|
|
- CoreOS: Go on with COREOS_DATA replace failure
|
|
|
|
|
|
|
|
|
|
* Fri Jun 24 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.8.0-1
|
|
|
|
|
- Bump CentOS Stream versions
|
|
|
|
|
- Build seed image with genisoimage (mpitt)
|
|
|
|
|
- Reduce libvirt dependencies (mpitt)
|
|
|
|
|
- Drop libguestfs from Requires to Suggests (mpitt)
|
|
|
|
|
- util: except also requests.exceptions.JSONDecodeError
|
|
|
|
|
- _needs_legacy_net: try to guess based on image name with missing guestfs
|
|
|
|
|
- add coreos aarch64 support (lnie)
|
|
|
|
|
- Allow to configure download progress verbosity
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.7.1-2
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Thu May 05 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.7.1-1
|
|
|
|
|
- Try qemu-kvm if there is nothing else...
|
|
|
|
|
|
|
|
|
|
* Mon May 02 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.7.0-1
|
|
|
|
|
- non-x86 support
|
|
|
|
|
- cli: Fixup crash on vm start in connection tip
|
|
|
|
|
- Handle missing testcloud group also while creating instances from local image
|
|
|
|
|
|
|
|
|
|
* Thu Jan 27 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.6.4-1
|
|
|
|
|
- fix selinux detection for image context (olichtne)
|
|
|
|
|
- Drop dependency on python-mock
|
|
|
|
|
- Drop coverage testing in rpm build
|
|
|
|
|
|
|
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Dec 01 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.6.3-1
|
|
|
|
|
- Drop Atomic Host
|
|
|
|
|
- Simplify cli codepath, use cloud-user by default
|
|
|
|
|
- cli: allow to spearate OS version by "-"
|
|
|
|
|
- CentOS misc: improve error output on missing version
|
|
|
|
|
- Disable UseDNS, GSSAPI for faster SSH, allow ssh for root
|
|
|
|
|
- CentOS: Fix el7 based systems
|
|
|
|
|
- CentOS: update 7 build, add CentOS Stream 9
|
|
|
|
|
|
|
|
|
|
* Mon Sep 27 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.6.2-1
|
|
|
|
|
- Workaround EL8 bug - waiting for sshd restart with user sessions
|
|
|
|
|
- Add a basic integration test and plan for tmt
|
|
|
|
|