-
Notifications
You must be signed in to change notification settings - Fork 2
/
resalloc-ibm-cloud.spec
93 lines (65 loc) · 2.66 KB
/
resalloc-ibm-cloud.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
%global desc %{expand:
Helper scripts for the Resalloc server (mostly used by Copr build system)
for maintaining VMs in IBM Cloud (starting, stopping, cleaning orphans, etc.).
}
Name: resalloc-ibm-cloud
Version: 2.3
Release: 1%{?dist}
Summary: Resource allocator scripts for IBM cloud
License: GPL-2.0-or-later
URL: https://github.com/fedora-copr/%{name}
Source0: %{url}/archive/refs/tags/%{name}-%{version}.tar.gz
BuildArch: noarch
Requires: resalloc-helpers
BuildRequires: python3-devel
BuildRequires: pyproject-rpm-macros
%description
%{desc}
%prep
%autosetup -n %{name}-%{version}
%generate_buildrequires
%pyproject_buildrequires -r
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files resalloc_ibm_cloud
%files -n %{name} -f %{pyproject_files}
%license LICENSE
%doc README.md
%_mandir/man1/resalloc-ibm-cloud*1*
%{_bindir}/resalloc-ibm-cloud-list-deleting-vms
%{_bindir}/resalloc-ibm-cloud-list-deleting-volumes
%{_bindir}/resalloc-ibm-cloud-list-vms
%{_bindir}/resalloc-ibm-cloud-vm
%changelog
* Tue Dec 17 2024 Jiri Kyjovsky <[email protected]> 2.3-1
- Add functionality for tagging resource by its crn ([email protected])
- Add option for specifying resource group ([email protected])
* Tue Oct 01 2024 Jiri Kyjovsky <[email protected]> 2.2-1
- Allow dynamic spefifying of volume size
* Wed Feb 28 2024 Pavel Raiskup <[email protected]> 2.1-1
- The wait-for-ssh script was moved to resalloc-helpers
- releng: release to all active Fedora releases
* Tue Jan 16 2024 Pavel Raiskup <[email protected]>
- don't try to remove attached volumes
- give the ansible-playbook utility a blocking stdin
* Wed Nov 08 2023 Pavel Raiskup <[email protected]> 1.2-1
- Automatically remove leftover Floating IPs
- Fail early for too-long resource names
* Mon Oct 16 2023 Pavel Raiskup <[email protected]> 1.1-1
- Simplify the get_service() helper
- list-deleting-volumes: new helper for customer case reporting
- fix manpage contents
- provide subnets ids directly to the tool via argument ([email protected])
- specify ibm cloud zone instead of hardcoded API url ([email protected])
- add option to use instance's private IP to connect to it ([email protected])
* Tue Sep 26 2023 Jiri Kyjovsky 1.0-1
- Use setuptools instead of poetry
- spec: use SPDX lincese and drop build requires due to generic reqs
* Mon Sep 18 2023 Jiri Kyjovsky <[email protected]> 0.99-2
- use SPDX license and drop buildrequires
* Mon Sep 04 2023 Pavel Raiskup <[email protected]> 0.99-1
- package && release with tito
* Wed Jan 18 2023 Jiri Kyjovsky <[email protected]>
- Initial package.