Compare commits

...

70 Commits

Author SHA1 Message Date
Fedora Release Engineering e8fe91cf5a Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 19:00:15 +00:00
František Zatloukal 75f7bd9119 Remove deprecated py3_* macros (RHBZ#2378514) 2025-10-26 17:57:36 +01:00
Python Maint 31caef4b07 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 14:59:20 +02:00
Python Maint 40588e02ec Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 15:19:59 +02:00
František Zatloukal 1bb5f4cf94 Release 0.11.8 2025-07-24 21:34:40 +02:00
Python Maint 912e930338 Rebuilt for Python 3.14 2025-06-17 21:48:50 +02:00
Lukas Brabec b761ca2b37 add _sysusersdir for epel9 2025-05-05 10:25:05 +02:00
Lukas Brabec c4ddc357a7 require acl package 2025-05-05 09:07:53 +02:00
Lukas Brabec b6e5985a05 utilize sysusers to create testcloud group 2025-04-23 10:04:26 +02:00
František Zatloukal 5bb1b3b1d9 Release 0.11.7 2025-04-10 15:35:27 +02:00
František Zatloukal 69ef57ecf7 Release 0.11.6 2025-02-24 16:06:44 +01:00
František Zatloukal 64a669aa59 Release 0.11.5 2025-02-19 17:31:54 +01:00
Fedora Release Engineering b69dc766d9 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 12:38:33 +00:00
František Zatloukal fe0e2071f9 Release 0.11.4 2024-11-01 12:46:49 +01:00
František Zatloukal 08d819c8bd Release 0.11.3 2024-10-15 22:30:15 +02:00
František Zatloukal 8e7de4cc11 Release 0.11.2 2024-10-14 22:33:39 +02:00
František Zatloukal 53801b9f5f Release 0.11.1 2024-10-11 22:16:48 +02:00
František Zatloukal ebe1a9f1ec Release 0.11.0 2024-10-09 10:13:22 +02:00
František Zatloukal 3cb43687cf Release 0.10.0 2024-09-25 22:27:29 +02:00
František Zatloukal f92c893f44 Convert to %autorelease and %autochangelog
[skip changelog]
2024-09-25 20:59:45 +02:00
František Zatloukal 2d67b27b08 Add python3-peewee requirement 2024-09-25 20:58:30 +02:00
František Zatloukal 1811a09785 Release 0.9.13 2024-07-24 14:04:24 +02:00
Fedora Release Engineering d58a62c9e0 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 07:18:18 +00:00
Python Maint e108dca43e Rebuilt for Python 3.13 2024-06-10 14:35:23 +02:00
František Zatloukal 2ad6d1445d Release 0.9.12 2024-02-29 10:09:54 +01:00
František Zatloukal cc66b2c636 Disable tests for now 2024-02-27 18:08:16 +01:00
František Zatloukal 8e73f8e25b Release 0.9.11 2024-02-27 17:07:23 +01:00
Fedora Release Engineering 5e32d294b7 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 05:53:16 +00:00
František Zatloukal 8c53fdd82a Bump release 2023-12-11 23:16:25 +01:00
František Zatloukal f868545b01 Require libvirt-daemon as it's no longer pulled in indirectly 2023-12-11 23:08:07 +01:00
František Zatloukal d721d4b198 Release 0.9.10 2023-09-04 21:06:13 +02:00
František Zatloukal d3a1c017d7 SPDX correct license
Closes https://src.fedoraproject.org/rpms/testcloud/pull-request/3
2023-09-04 20:51:59 +02:00
František Zatloukal 07dd4365f1 Switch setup to autosetup 2023-09-04 20:50:57 +02:00
Fedora Release Engineering f3da72a23b Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 03:28:50 +00:00
Python Maint b12d037cba Rebuilt for Python 3.12 2023-06-14 22:41:29 +02: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 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 2485d51c12 Release 0.8.1 2022-06-30 15:01:25 +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 371a14349c Release 0.7.1 2022-05-05 20:28:53 +02:00
František Zatloukal 2a3a8c2b9b Release 0.7.0 2022-05-02 12:32:29 +02: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 5b8a7f1283 Release 0.6.3 2021-12-01 12:19:50 +01:00
František Zatloukal cb3fe9aecc Release 0.6.2 2021-09-27 08:24:44 +02:00
Fedora Release Engineering 6f50913182 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 19:06:04 +00:00
František Zatloukal e782b24a59 Release 0.6.1 2021-07-21 11:54:01 +02:00
František Zatloukal 67787aaedc Release 0.6.0 2021-07-09 15:35:20 +02:00
Python Maint 32d6482e5d Rebuilt for Python 3.10 2021-06-04 21:16:26 +02:00
František Zatloukal c8816bf154 Release 0.5.0 2021-03-22 09:43:41 +01:00
Fedora Release Engineering 7921cb4505 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 21:48:16 +00:00
František Zatloukal 902dc2d853 Release 0.4.0 2020-12-16 15:27:43 +01:00
František Zatloukal 3529ac22e3 Release 0.3.7 2020-11-16 16:12:07 +01:00
František Zatloukal 0cbb530f27 Bring ExclusiveArch back 2020-11-03 14:27:50 +01:00
František Zatloukal 68de54581d Release 0.3.6 2020-10-09 23:33:04 +02:00
František Zatloukal f894bd2eee ExclusiveArch to prevent koji from trying to build this on i686 2020-08-27 16:40:33 +02:00
Fedora Release Engineering 37d90ad30b - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 12:19:13 +00:00
Miro Hrončok 9523991945 Rebuilt for Python 3.9 2020-05-26 03:51:46 +02:00
František Zatloukal e7fc5c848c Release 0.3.5 2020-05-22 00:04:25 +02:00
František Zatloukal ebcc1d42a0 Release 0.3.4 2020-05-21 18:13:24 +02:00
František Zatloukal 5952696d3f Release 0.3.3 2020-05-20 14:33:13 +02:00
František Zatloukal 1441beade5 Release 0.3.2 2020-04-19 18:06:49 +02:00
František Zatloukal e3f4c8ae6d Release 0.3.1 2020-03-02 17:22:01 +01:00
Fedora Release Engineering e45d7f26fa - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 01:21:59 +00:00
Miro Hrončok ca1a08b0f9 Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 14:39:23 +02:00
Miro Hrončok 2156d20941 Rebuilt for Python 3.8 2019-08-19 11:06:53 +02:00
Fedora Release Engineering 0fe3e625f4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 01:16:02 +00:00
5 changed files with 497 additions and 218 deletions
+35
View File
@@ -14,3 +14,38 @@
/testcloud-0.2.1.tar.gz /testcloud-0.2.1.tar.gz
/testcloud-0.2.2.tar.gz /testcloud-0.2.2.tar.gz
/testcloud-0.3.0.tar.gz /testcloud-0.3.0.tar.gz
/testcloud-0.3.1.tar.gz
/testcloud-0.3.2.tar.gz
/testcloud-0.3.3.tar.gz
/testcloud-0.3.4.tar.gz
/testcloud-0.3.5.tar.gz
/testcloud-0.3.6.tar.gz
/testcloud-0.3.7.tar.gz
/testcloud-0.4.0.tar.gz
/testcloud-0.5.0.tar.gz
/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
/testcloud-0.9.10.tar.gz
/testcloud-0.9.11.tar.gz
/testcloud-0.9.12.tar.gz
/testcloud-0.9.13.tar.gz
/testcloud-0.10.0.tar.gz
/testcloud-0.11.0.tar.gz
/testcloud-0.11.1.tar.gz
/testcloud-0.11.2.tar.gz
/testcloud-0.11.3.tar.gz
/testcloud-0.11.4.tar.gz
/testcloud-0.11.5.tar.gz
/testcloud-0.11.6.tar.gz
/testcloud-0.11.7.tar.gz
/testcloud-0.11.8.tar.gz
+419
View File
@@ -0,0 +1,419 @@
* Wed Jul 24 2024 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.9.13-1
- _get_default_domain_conf polishing (lbrabec)
- fixing typing errors (lbrabec)
- add host_device_path to StorageDevice (lbrabec)
- Allow skipping downloads
- Adjust verification around image resolve caching
- Fedora image finder: look for subvariant instead of variant
- cli: Identify rhcos as coreos too
- cli: Refactor url checking a bit
- Band aid tests fixup
- cli: Add dry option
- Fix the issue of indentation for the docs of --virtiofs (hhan)
- image: Use reflinks if available (walters)
- add virtual iommu device (hhan)
- Workarounds API (lbrabec, fzatlouk)
- CentOS 7: Workaround to point repositories to the vault
- CentOS Stream: Support preliminary CentOS Stream 10 images
- Refresh baked in fallback image urls
- Ubuntu: Fixup image finder
- Debian: Support bookworm release
- Purge domain-template.jinja
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.12-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Mon Jun 10 2024 Python Maint <python-maint@redhat.com> - 0.9.12-2
- Rebuilt for Python 3.13
* 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
* 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
- Fixes around backingstore cleanups
- get_fedora_image_url: Proper support for branched, cleanups
- get_fedora_image_url: Add info when user asks for wrong version
- Don't use hammer solution to all Vagrant boxes, force-install cloud-init to known broken images
- non-x86_64 support preparations and downloader code
- Don't rely on working qemu://system
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jul 21 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.6.1-1
- Add wait and retry around dom.create()
- lazy_refcounts=on and cache=unsafe
- Bash completion (by lbrabec)
- Let's have also short t7d binary
- Add long project description for pypi
- Style: Let's not have lines with hundreds of characters...
- API: Add reboot function
- FileLock: Make sure we don't overwrite config_data.DATA_DIR
- Fix systems using systemd-networkd in user session mode
* Fri Jul 09 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.6.0-1
- SPEC: Use pytest macro
- Merge downstream spec changes
- README: Let's believe in testcloud a bit more 😎
- Simplify cli warning wording a bit
- Remove forced reboot from cli for CentOS user sessions
- API: Allow to specify pci network device
- README: improve a tiny bit
- Make url mandatory, cleanup cli instance create a bit
- Allow to specify number of CPU cores to be assigned
- Change cli layout for instance create a bit (A LOT 😱 )
- get_debian_image_url: return None on fail
- Add a way to shutdown vms in a graceful way
- use if hasattr insteadd of try/except AttributeError
- Use virtio-net-pci instead of e1000 for hostfwd in qemu user sessions
- implement synchronization using file lock for user sessions
- Don't directly alter config_object, use a copy of it
- Fixup CentOS short handle
- Support Ubuntu and Debian images
- Update url for oraculum
- Bunch of code shuffling
- Bunch of improvements for get_fedora_image_url
- Fixup traceback for unknown distributions on un-defined variable
- Fixups around system x session instances handling
- Dont blow out traceback on image download 404, fixup connection tooltip for CentOS
- Support fetching the latest Fedora Rawhide iso as fedora:rawhide url
- Support CentOS and CentOS Stream versions (hardcoded urls)
- Support operating with Vagrant images
- check whether the instance existing before do the prepare work
- Make the code more robust
- Make list and clean functions more robust to handle both system and user sessions
- add coreos test function
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.5.0-2
- Rebuilt for Python 3.10
* Mon Mar 22 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.5.0-1
- Fix crash in _handle_connection_tip
- Allow to create an instance without specifying a name
- Fix instance.image_path
- Make network working in qemu:///session
* Wed Dec 16 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.4.0-1
- Support creating instances by fedora:XX, fedora:latest and fedora:qa-matrix strings
- Implement auto cleaning of backingstore
- Make testcloud compatible with future Python 3.10
- Adapt to requests defaulting to simplejson if present
- Don't throw out exception when trying to create instance already existing in libvirt
- --all is now the default in testcloud instance list
- Show some hints to the users on instance create/start
- cleanup the instance bits when instance create fails
* Mon Nov 16 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.3.7-1
- Do not throw out ugly tracebacks if user uses cli (#1887815)
- Parse CMD_LINE_ARGS and add CMD_LINE_ENVS (https://pagure.io/testcloud/issue/49)
- Add try/except check to instance.prepare() as permissions error can occur there too
- Update documentation
- Add manpage
* Fri Oct 09 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.3.6-1
- Improve user experience when testcloud fails because of missing group
* Thu Aug 27 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.3.5-4
- ExclusiveArch to prevent koji from trying to build this on i686
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.3.5-2
- Rebuilt for Python 3.9
* Fri May 22 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.3.5-1
- Typo fix in RHEL 8 qemu-kvm naming workaround
* Thu May 21 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.3.4-1
- Ugly hotfix for tmt
* Wed May 20 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.3.3-1
- Support RHEL 8 hosts (different qemu-kvm path)
- Move most of the deps into python3-testcloud
* Sun Apr 19 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.3.2-1
- Require only libguestfs-tools-c from libguestfs
- Bump default RAM size to 768 MB
- Fix for libvirt >= 6.0
- Fix DeprecationWarning: invalid escape sequence \w
* Mon Mar 02 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.3.1-1
- Remove Python 2 support
- Raise TestcloudImageError if failed to open file
- instance: call qemu-img in quiet mode
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-4
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.0-3
- Rebuilt for Python 3.8
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed May 22 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.3.0-1
- Support creating UEFI VMs
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Nov 20 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.2.2-1
- drop and obsolete python2-testcloud on Fedora >= 30
- Fix setup.py test to also work with Python 3 (pytest-3)
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-2
- Rebuilt for Python 3.7
* Fri Jun 29 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.2.1-1
- domain-template: use cpu host-passthrough
- domain-template: use urandom for RNG
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.2.0-2
- Rebuilt for Python 3.7
* Wed May 30 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.2.0-1
- Drop Fedora 26
- Use Python 3 by default
- Remove shebangs from non-executables
- Split testcloud into testcloud, python2-testcloud and python3-testcloud
* Wed May 02 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.1.18-1
- Host /dev/random passthrough
* Tue Mar 06 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.1.17-1
- Add instance clean command
- Ignore error when domain stopped between stop attempts
- Add Makefile
* Tue Feb 20 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.1.16-1
- Retry to stop instance when host is busy
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.15-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Feb 02 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.1.15-2
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Thu Oct 26 2017 Kamil Páral <kparal@redhat.com> - 0.1.15-1
- keep backwards compatible API
* Thu Oct 26 2017 Kamil Páral <kparal@redhat.com> - 0.1.14-1
- replace arp with libvirt method (lose dep on net-tools)
- fix test suite in spec file
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.11-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed Feb 22 2017 Kamil Páral <kparal@redhat.com> - 0.1.11-3
- don't install py[co] files into /etc
* Mon Feb 20 2017 Kamil Páral <kparal@redhat.com> - 0.1.11-2
- add python-pytest-cov builddep to run test suite during building
* Mon Feb 20 2017 Kamil Páral <kparal@redhat.com> - 0.1.11-1
- make libvirt url configurable
- avoid race condition during listing domains
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Aug 17 2016 Martin Krizek <mkrizek@redhat.com> - 0.1.10-1
- use symlinks for file:// urls
- look for the jinja template in the conf/ dir first
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.9-2
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Tue Jul 19 2016 Kamil Páral <kparal@redhat.com> - 0.1.9-1
- upstream 0.1.9 release
- "destroy" commands renamed to "remove"
- "instance remove" now supports "--force"
- new "instance reboot" command
- no more crashes when stopping an already stopped instance
- option to automatically stop an instance during remove (API)
* Mon Jul 18 2016 Martin Krizek <mkrizek@redhat.com> - 0.1.8-3
- libguestfs on arm should be fixed now, removing exclude arm
* Wed Jun 22 2016 Martin Krizek <mkrizek@redhat.com> - 0.1.8-2
- exclude arm until libguestfs dep is resolved there
* Fri Feb 05 2016 Tim Flink <tflink@fedoraproject.org> - 0.1.8-1
- Explicitly fail when IP address is not found
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Dec 8 2015 Tim Flink <tflink@fedoraproject.org> - 0.1.7-1
- Enabling configurable instance memory and disk size (T420, T659)
- Improved handling of images with larger disks (T657)
- Changed "cache" to "backingstores" to reduce confusion (T521)
* Tue Dec 1 2015 Tim Flink <tflink@fedoraproject.org> - 0.1.6-1
- fixing python2 macros
- other small fixes as per review
* Wed Nov 18 2015 Tim Flink <tflink@fedoraproject.org> - 0.1.5-4
- adding net-tools as a dependency
* Wed Nov 11 2015 Martin Krizek <mkrizek@redhat.com> - 0.1.5-3
- adding python-jinja2 as a dependency
* Thu Nov 05 2015 Tim Flink <tflink@fedoraproject.org> - 0.1.5-2
- rework setup to work with github sources, proper file declarations
* Wed Nov 04 2015 Mike Ruckman <roshi@fedoraproject.org> - 0.1.5-1
- Multiple bugfixes (mainly use libvirt, not virt-install)
* Tue Sep 29 2015 Mike Ruckman <roshi@fedoraproject.org> - 0.1.4-2
- Fix permissions issues and no long overwrite stored configs.
* Tue Sep 29 2015 Mike Ruckman <roshi@fedoraproject.org> - 0.1.4-1
- Multiple bug fixes.
* Tue Sep 01 2015 Mike Ruckman <roshi@fedoraproject.org> - 0.1.3-2
- Unkludge the last release.
* Sun Aug 30 2015 Mike Ruckman <roshi@fedoraproject.org> - 0.1.3-1
- Multiple bugfixes and general clean up.
* Tue Jul 14 2015 Mike Ruckman <roshi@fedoraproject.org> - 0.1.1-2
- Added polkit rule for headless machine (or passwordless) execution.
* Thu Jul 09 2015 Mike Ruckman <roshi@fedoraproject.org> - 0.1.1-1
- Fixed packaging issues. Removed uneeded code.
* Thu Jul 09 2015 Mike Ruckman <roshi@fedoraproject.org> - 0.1.0-2
- Fixed packaging issues. Removed uneeded code.
* Tue Jun 23 2015 Mike Ruckman <roshi@fedoraproject.org> - 0.1.0-1
- Initial packaging of testcloud
+1 -1
View File
@@ -1 +1 @@
SHA512 (testcloud-0.3.0.tar.gz) = edb67953b3bf86c9c1a5aec2bdea7c34ce03947e0bea83d60b822a3c0f700168a7f7c32f5b3cced140edcb403ceffd97b7782d55415c781da9fda55ba2310074 SHA512 (testcloud-0.11.8.tar.gz) = e3c393b93867750bccc74fbbb89c1d2bff88f3f0b6f4fa166e029eccf4f31ba2a1c65f9353f67fedaa65c5ed099c0b8e8909e52218731d7f6559efc1b6687625
+41 -217
View File
@@ -1,82 +1,52 @@
# Avoid warnings when bytecompiling settings.py in /etc %if 0%{?rhel} <= 9
%global __python %{__python3} %global _sysusersdir /usr/lib/sysusers.d
%endif
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
Name: testcloud Name: testcloud
# Update also version in testcloud/__init__.py when changing this! # Update also version in testcloud/__init__.py and docs/source/conf.py when changing this!
Version: 0.3.0 Version: 0.11.8
Release: 1%{?dist} Release: %autorelease
Summary: Tool for running cloud images locally Summary: Tool for running cloud images locally
License: GPLv2+ License: GPL-2.0-or-later
URL: https://pagure.io/testcloud URL: https://pagure.io/testcloud
Source0: https://releases.pagure.org/testcloud/%{name}-%{version}.tar.gz Source0: https://releases.pagure.org/testcloud/%{name}-%{version}.tar.gz
Source1: testcloud.sysusers
ExclusiveArch: %{kernel_arches} noarch
BuildArch: noarch BuildArch: noarch
# Ensure we can create the testcloud group # Ensure we can create the testcloud group
Requires(pre): shadow-utils Requires(pre): shadow-utils
Requires: libvirt
Requires: polkit Requires: polkit
Requires: libguestfs
Requires: libguestfs-tools
Recommends: edk2-ovmf Recommends: edk2-ovmf
Requires: python3-%{name} = %{version}-%{release} Requires: python3-%{name} = %{version}-%{release}
# Install python2 interface on stable Fedora Releases
%if 0%{?fedora} <= 28
Requires: python2-%{name} = %{version}-%{release}
%endif
%description %description
testcloud is a relatively simple system which is capable of booting images testcloud is a relatively simple system which is capable of booting images
designed for cloud systems on a local system with minimal configuration. designed for cloud systems on a local system with minimal configuration.
testcloud is designed to be (and remain) somewhat simple, trading fancy cloud testcloud is designed to be (and remain) somewhat simple, trading fancy cloud
system features for ease of use and sanity in development. system features for ease of use and sanity in development.
%if 0%{?fedora} <= 29
%package -n python2-%{name}
Summary: Python 2 interface to testcloud
BuildRequires: python2-libvirt
BuildRequires: python2-devel
BuildRequires: python2-jinja2
BuildRequires: python2-mock
BuildRequires: python2-pytest
BuildRequires: python2-pytest-cov
BuildRequires: python2-requests
BuildRequires: python2-setuptools
Requires: python2-requests
Requires: python2-libvirt
Requires: python2-jinja2
%description -n python2-%{name}
Python 2 interface to testcloud.
%endif
%package -n python3-%{name} %package -n python3-%{name}
Summary: Python 3 interface to testcloud Summary: Python 3 interface to testcloud
%if 0%{?fedora} >= 30 BuildRequires: bash-completion
Obsoletes: python2-testcloud <= %{version}-%{release}
%endif
BuildRequires: python3-libvirt
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-jinja2
BuildRequires: python3-mock
BuildRequires: python3-pytest BuildRequires: python3-pytest
BuildRequires: python3-pytest-cov
BuildRequires: python3-requests Requires: acl
BuildRequires: python3-setuptools Requires: genisoimage
Requires: python3-requests Requires: libvirt-daemon
Requires: python3-libvirt Requires: libvirt-daemon-config-network
Requires: python3-jinja2 Requires: libvirt-daemon-driver-qemu
Requires: libvirt-daemon-driver-storage-core
Recommends: butane
Suggests: python3-libguestfs
Suggests: libguestfs-tools-c
%description -n python3-%{name} %description -n python3-%{name}
Python 3 interface to testcloud. Python 3 interface to testcloud.
@@ -86,19 +56,19 @@ Python 3 interface to testcloud.
getent group testcloud >/dev/null || groupadd testcloud getent group testcloud >/dev/null || groupadd testcloud
%prep %prep
%setup -q -n %{name}-%{version} %autosetup -n %{name}-%{version} -p1
# Drop coverage testing
sed -i 's/ --cov-report=term-missing --cov testcloud//g' tox.ini
%generate_buildrequires
%pyproject_buildrequires
%build %build
%if 0%{?fedora} <= 29 %pyproject_wheel
%py2_build
%endif
%py3_build
%install %install
%if 0%{?fedora} <= 29 %pyproject_install
%py2_install %pyproject_save_files testcloud
%endif
%py3_install
# configuration files # configuration files
mkdir -p %{buildroot}%{_sysconfdir}/testcloud/ mkdir -p %{buildroot}%{_sysconfdir}/testcloud/
@@ -107,9 +77,6 @@ install conf/settings-example.py %{buildroot}%{_sysconfdir}/testcloud/settings.p
# Create running directory for testcloud # Create running directory for testcloud
install -d %{buildroot}%{_sharedstatedir}/testcloud/ install -d %{buildroot}%{_sharedstatedir}/testcloud/
# Install domain jinja template for libvirt to import
install conf/domain-template.jinja %{buildroot}/%{_sharedstatedir}/testcloud/domain-template.jinja
# backingstores dir # backingstores dir
install -d %{buildroot}/%{_sharedstatedir}/testcloud/backingstores install -d %{buildroot}/%{_sharedstatedir}/testcloud/backingstores
@@ -120,179 +87,36 @@ install -d %{buildroot}/%{_sharedstatedir}/testcloud/instances
mkdir -p %{buildroot}%{_sysconfdir}/polkit-1/rules.d mkdir -p %{buildroot}%{_sysconfdir}/polkit-1/rules.d
install conf/99-testcloud-nonroot-libvirt-access.rules %{buildroot}%{_sysconfdir}/polkit-1/rules.d/99-testcloud-nonroot-libvirt-access.rules install conf/99-testcloud-nonroot-libvirt-access.rules %{buildroot}%{_sysconfdir}/polkit-1/rules.d/99-testcloud-nonroot-libvirt-access.rules
# sysusers conf file for creation of testcloud group
install -p -m644 -D %{SOURCE1} %{buildroot}%{_sysusersdir}/%{name}.conf
%check %check
%if 0%{?fedora} <= 29 %pyproject_check_import
%{__python2} setup.py test %pytest
%endif
%{__python3} setup.py test
# Remove compiled .py files from /etc after os_install_post # Remove compiled .py files from /etc after os_install_post
rm -f %{buildroot}%{_sysconfdir}/testcloud/*.py{c,o} rm -f %{buildroot}%{_sysconfdir}/testcloud/*.py{c,o}
rm -rf %{buildroot}%{_sysconfdir}/testcloud/__pycache__ rm -rf %{buildroot}%{_sysconfdir}/testcloud/__pycache__
%files %files
%doc README.rst %doc README.md
%{_mandir}/man1/testcloud.1*
%license LICENSE %license LICENSE
%dir %{_sysconfdir}/testcloud %dir %{_sysconfdir}/testcloud
%dir %attr(0775, qemu, testcloud) %{_sharedstatedir}/testcloud %dir %attr(0775, qemu, testcloud) %{_sharedstatedir}/testcloud
%dir %attr(0775, qemu, testcloud) %{_sharedstatedir}/testcloud/backingstores %dir %attr(0775, qemu, testcloud) %{_sharedstatedir}/testcloud/backingstores
%dir %attr(0775, qemu, testcloud) %{_sharedstatedir}/testcloud/instances %dir %attr(0775, qemu, testcloud) %{_sharedstatedir}/testcloud/instances
%attr(0764, qemu, testcloud) %{_sharedstatedir}/testcloud/domain-template.jinja
%attr(0644, root, root) %{_sysconfdir}/polkit-1/rules.d/99-testcloud-nonroot-libvirt-access.rules %attr(0644, root, root) %{_sysconfdir}/polkit-1/rules.d/99-testcloud-nonroot-libvirt-access.rules
%config(noreplace) %{_sysconfdir}/testcloud/settings.py %config(noreplace) %{_sysconfdir}/testcloud/settings.py
%{_bindir}/testcloud %{_bindir}/testcloud
%{_bindir}/t7d
%{_datadir}/bash-completion/completions/testcloud
%if 0%{?fedora} <= 29 %{_sysusersdir}/%{name}.conf
%files -n python2-%{name}
%{python2_sitelib}/testcloud
%{python2_sitelib}/*.egg-info
%endif
%files -n python3-%{name} %files -n python3-%{name} -f %{pyproject_files}
%{python3_sitelib}/testcloud
%{python3_sitelib}/*.egg-info
%changelog %changelog
* Wed May 22 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.3.0-1 %autochangelog
- Support creating UEFI VMs
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Nov 20 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.2.2-1
- drop and obsolete python2-testcloud on Fedora >= 30
- Fix setup.py test to also work with Python 3 (pytest-3)
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-2
- Rebuilt for Python 3.7
* Fri Jun 29 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.2.1-1
- domain-template: use cpu host-passthrough
- domain-template: use urandom for RNG
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.2.0-2
- Rebuilt for Python 3.7
* Wed May 30 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.2.0-1
- Drop Fedora 26
- Use Python 3 by default
- Remove shebangs from non-executables
- Split testcloud into testcloud, python2-testcloud and python3-testcloud
* Wed May 02 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.1.18-1
- Host /dev/random passthrough
* Tue Mar 06 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.1.17-1
- Add instance clean command
- Ignore error when domain stopped between stop attempts
- Add Makefile
* Tue Feb 20 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.1.16-1
- Retry to stop instance when host is busy
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.15-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Feb 02 2018 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.1.15-2
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Thu Oct 26 2017 Kamil Páral <kparal@redhat.com> - 0.1.15-1
- keep backwards compatible API
* Thu Oct 26 2017 Kamil Páral <kparal@redhat.com> - 0.1.14-1
- replace arp with libvirt method (lose dep on net-tools)
- fix test suite in spec file
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.11-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed Feb 22 2017 Kamil Páral <kparal@redhat.com> - 0.1.11-3
- don't install py[co] files into /etc
* Mon Feb 20 2017 Kamil Páral <kparal@redhat.com> - 0.1.11-2
- add python-pytest-cov builddep to run test suite during building
* Mon Feb 20 2017 Kamil Páral <kparal@redhat.com> - 0.1.11-1
- make libvirt url configurable
- avoid race condition during listing domains
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Aug 17 2016 Martin Krizek <mkrizek@redhat.com> - 0.1.10-1
- use symlinks for file:// urls
- look for the jinja template in the conf/ dir first
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.9-2
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Tue Jul 19 2016 Kamil Páral <kparal@redhat.com> - 0.1.9-1
- upstream 0.1.9 release
- "destroy" commands renamed to "remove"
- "instance remove" now supports "--force"
- new "instance reboot" command
- no more crashes when stopping an already stopped instance
- option to automatically stop an instance during remove (API)
* Mon Jul 18 2016 Martin Krizek <mkrizek@redhat.com> - 0.1.8-3
- libguestfs on arm should be fixed now, removing exclude arm
* Wed Jun 22 2016 Martin Krizek <mkrizek@redhat.com> - 0.1.8-2
- exclude arm until libguestfs dep is resolved there
* Fri Feb 05 2016 Tim Flink <tflink@fedoraproject.org> - 0.1.8-1
- Explicitly fail when IP address is not found
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Tue Dec 8 2015 Tim Flink <tflink@fedoraproject.org> - 0.1.7-1
- Enabling configurable instance memory and disk size (T420, T659)
- Improved handling of images with larger disks (T657)
- Changed "cache" to "backingstores" to reduce confusion (T521)
* Tue Dec 1 2015 Tim Flink <tflink@fedoraproject.org> - 0.1.6-1
- fixing python2 macros
- other small fixes as per review
* Wed Nov 18 2015 Tim Flink <tflink@fedoraproject.org> - 0.1.5-4
- adding net-tools as a dependency
* Wed Nov 11 2015 Martin Krizek <mkrizek@redhat.com> - 0.1.5-3
- adding python-jinja2 as a dependency
* Thu Nov 05 2015 Tim Flink <tflink@fedoraproject.org> - 0.1.5-2
- rework setup to work with github sources, proper file declarations
* Wed Nov 04 2015 Mike Ruckman <roshi@fedoraproject.org> - 0.1.5-1
- Multiple bugfixes (mainly use libvirt, not virt-install)
* Tue Sep 29 2015 Mike Ruckman <roshi@fedoraproject.org> - 0.1.4-2
- Fix permissions issues and no long overwrite stored configs.
* Tue Sep 29 2015 Mike Ruckman <roshi@fedoraproject.org> - 0.1.4-1
- Multiple bug fixes.
* Tue Sep 01 2015 Mike Ruckman <roshi@fedoraproject.org> - 0.1.3-2
- Unkludge the last release.
* Sun Aug 30 2015 Mike Ruckman <roshi@fedoraproject.org> - 0.1.3-1
- Multiple bugfixes and general clean up.
* Tue Jul 14 2015 Mike Ruckman <roshi@fedoraproject.org> - 0.1.1-2
- Added polkit rule for headless machine (or passwordless) execution.
* Thu Jul 09 2015 Mike Ruckman <roshi@fedoraproject.org> - 0.1.1-1
- Fixed packaging issues. Removed uneeded code.
* Thu Jul 09 2015 Mike Ruckman <roshi@fedoraproject.org> - 0.1.0-2
- Fixed packaging issues. Removed uneeded code.
* Tue Jun 23 2015 Mike Ruckman <roshi@fedoraproject.org> - 0.1.0-1
- Initial packaging of testcloud
+1
View File
@@ -0,0 +1 @@
g testcloud -