Compare commits

..

34 Commits

Author SHA1 Message Date
František Zatloukal 25fb689707 Merge branch 'rawhide' into epel8 2023-03-22 16:06:57 +01:00
František Zatloukal eda731c85b Release 0.9.2 2023-03-22 16:04:27 +01:00
Fedora Release Engineering 42fec94358 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 04:53:34 +00:00
František Zatloukal 2a446a5985 Merge branch 'rawhide' into epel8 2022-12-02 16:49:10 +01:00
František Zatloukal 429a860192 Release 0.8.2 2022-12-02 16:46:39 +01:00
Fedora Release Engineering 946c677c30 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 10:19:07 +00:00
František Zatloukal 089df717b9 Merge branch 'rawhide' into epel8 2022-06-30 15:03:09 +01:00
František Zatloukal 2485d51c12 Release 0.8.1 2022-06-30 15:01:25 +01:00
František Zatloukal 4fc0076676 Merge branch 'rawhide' into epel8 2022-06-24 12:01:12 +01:00
František Zatloukal 36b3cd69bc Release 0.8.0 2022-06-24 11:59:13 +01:00
Python Maint 8047e14dfa Rebuilt for Python 3.11 2022-06-13 18:04:50 +02:00
František Zatloukal b8b74272a9 Merge branch 'rawhide' into epel8 2022-05-05 20:31:05 +02:00
František Zatloukal 371a14349c Release 0.7.1 2022-05-05 20:28:53 +02:00
František Zatloukal 6e2bbbb303 Merge branch 'rawhide' into epel8 2022-05-02 13:45:15 +02:00
František Zatloukal 2a3a8c2b9b Release 0.7.0 2022-05-02 12:32:29 +02:00
František Zatloukal 1c0f2a2712 Merge branch 'rawhide' into epel8 2022-01-28 00:31:09 +01:00
František Zatloukal 20a56f81f0 Release 0.6.4 2022-01-28 00:29:42 +01:00
Fedora Release Engineering f903c742da - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 02:32:40 +00:00
František Zatloukal 1d1b97b6c3 Merge branch 'rawhide' into epel8 2021-12-01 12:33:14 +01:00
František Zatloukal 5b8a7f1283 Release 0.6.3 2021-12-01 12:19:50 +01:00
František Zatloukal 3cd8217ddd Merge branch 'rawhide' into epel8 2021-09-27 08:31:41 +02:00
František Zatloukal 0f498405be Merge branch 'rawhide' into epel8 2021-07-21 12:03:50 +02:00
František Zatloukal c9405ab8e0 Merge branch 'main' into epel8 2021-07-09 15:52:03 +02:00
František Zatloukal 76cb70bd15 Merge branch 'main' into epel8 2021-03-22 11:09:39 +01:00
František Zatloukal 4748ecb490 Purge ExclusiveArch for EPEL 8 2020-12-16 16:37:02 +01:00
František Zatloukal 97e46d82b9 Merge branch 'master' into epel8 2020-12-16 16:36:28 +01:00
František Zatloukal 3b2b9e9c04 Merge branch 'master' into epel8 2020-10-12 22:11:36 +02:00
Troy Dawson 5d0ceb0d35 remove package.cfg per new epel-playground policy 2020-09-24 18:21:24 +00:00
František Zatloukal c2a4c0f13c Merge branch 'master' into epel8 2020-05-22 00:06:05 +02:00
František Zatloukal 80e5c95dee Merge branch 'master' into epel8 2020-05-21 18:14:52 +02:00
František Zatloukal 1c31d16fab Merge branch 'master' into epel8 2020-05-20 14:38:15 +02:00
František Zatloukal a3af8afd48 Merge branch 'master' into epel8 2020-04-19 18:13:21 +02:00
František Zatloukal 06cc44b934 Merge branch 'master' into epel8 2020-03-02 18:34:08 +01:00
Gwyn Ciesla cee27d43b2 "Adding package.cfg file" 2020-03-02 11:16:00 -06:00
3 changed files with 104 additions and 13 deletions
+9
View File
@@ -26,3 +26,12 @@
/testcloud-0.6.0.tar.gz
/testcloud-0.6.1.tar.gz
/testcloud-0.6.2.tar.gz
/testcloud-0.6.3.tar.gz
/testcloud-0.6.4.tar.gz
/testcloud-0.7.0.tar.gz
/testcloud-0.7.1.tar.gz
/testcloud-0.8.0.tar.gz
/testcloud-0.8.1.tar.gz
/testcloud-0.8.2.tar.gz
/testcloud-0.9.1.tar.gz
/testcloud-0.9.2.tar.gz
+1 -1
View File
@@ -1 +1 @@
SHA512 (testcloud-0.6.2.tar.gz) = 0ea7feba89b2c596d9df6fc39d88b6f523bf378e746725b2216c2e5d2bb2ea6faa68ae09bcf33a9d53ee121201a89c9b23ec8b8bb2f1262e97d69be9886d48d8
SHA512 (testcloud-0.9.2.tar.gz) = 74f74bcf313d7b1bf96d5b27729b631155b3cceec4157488d991ac9ec03e49c8eb286ebe7d5519812e87599e38d2f71fde16f6c8aabb334245e8552172388e08
+94 -12
View File
@@ -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.9.2
Release: 1%{?dist}
Summary: Tool for running cloud images locally
@@ -8,7 +8,6 @@ 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
@@ -35,19 +34,20 @@ 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-config-network
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,90 @@ rm -rf %{buildroot}%{_sysconfdir}/testcloud/__pycache__
%{python3_sitelib}/*.egg-info
%changelog
* Wed Mar 22 2023 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.9.2-1
- Unbreak python <3.9
* Wed Mar 22 2023 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.9.1-1
- setup.py: Include distro_utils too
- inherit from Exception instead of BaseException
- get_image_url: return str of supported images instead of dict_keys in errors
* Sat Mar 18 2023 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.9.0-1
- image downloader: Try to detect failed downloads more aggressively
- CLI: Support download image
- CLI: Drop non-x86 warning
- CLI: Drop instance subcommand
- Rework images url handling
- CentOS 7: Bump image
- Vagrant: Support Fedora Boxes
- cli: Tune down default logging
- add disk_number param
- pc model: use q35
- memballoon: drop address spec
- Use unversioned machine models
- CentOS Stream: try to auto-detect the latest image
- support TPM2 device
- Prevent unbound url variable on failed Fedora rawhide/branched guess
- add mac_address param
- add qemu_cmds param for coreos testcases
- support to pass ignition file on platforms that doesn't support FW CFG
- Require libvirt-daemon-config-network as well
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* 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
* Fri Sep 09 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.8.1-3
- Require libvirt-daemon-config-network as well
* 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