Accepting request 833781 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/833781 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kubevirt?expand=0&rev=1
This commit is contained in:
commit
b71a8ef3ed
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
18
_service
Normal file
18
_service
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="disabled">
|
||||||
|
<param name="filename">kubevirt</param>
|
||||||
|
<param name="revision">v0.32.0</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="submodules">disable</param>
|
||||||
|
<param name="url">https://github.com/kubevirt/kubevirt</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="versionrewrite-pattern">[v]?([^\+]+)(.*)</param>
|
||||||
|
<param name="versionrewrite-replacement">\1</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">gz</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="disabled"/>
|
||||||
|
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/kubevirt/kubevirt</param>
|
||||||
|
<param name="changesrevision">3935f4337ede364fa9a3442f5e8642e03d3c4070</param></service></servicedata>
|
3
kubevirt-0.32.0.tar.gz
Normal file
3
kubevirt-0.32.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:01dda27717791bd6f8bcabbffd28a92d22c730241e1ae9855bdf3b19d3bc47e2
|
||||||
|
size 10623125
|
75
kubevirt.changes
Normal file
75
kubevirt.changes
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 11 12:38:50 UTC 2020 - dmueller@suse.com
|
||||||
|
|
||||||
|
- add license/readmes
|
||||||
|
- Update to version 0.32.0:
|
||||||
|
* Shorten the release job exectuion time on travis
|
||||||
|
* libvirt expects memory value in bytes to be provided with correct units
|
||||||
|
* Bump kubevirtci
|
||||||
|
* flaky-finder: fix leading pipe bug
|
||||||
|
* tests: skip dmidecode tests on ipv6 lanes
|
||||||
|
* code inspection changes
|
||||||
|
* Add unit test to verify domain resync period
|
||||||
|
* Add resync period for syncing domains in virt-handler from each virt-launcher
|
||||||
|
* tests: fix string equality tests
|
||||||
|
* tests, vmi_config: Fix expecter false positives In these tests, BExp-ecting "pass" always worked, because the command line was matched. Splitting the word in 2 on the command line ensures the match to happen (or not) in the result. Also removed unused 'fail' echos.
|
||||||
|
* virtctl cli error handling
|
||||||
|
* Re-enabling test pointing to #2272
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 28 19:13:36 UTC 2020 - James Fehlig <jfehlig@suse.com>
|
||||||
|
|
||||||
|
- spec: Add 'ExclusiveArch: x86_64' since currently kubevirt only
|
||||||
|
builds for x86_64
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 22 19:53:38 UTC 2020 - James Fehlig <jfehlig@suse.com>
|
||||||
|
|
||||||
|
- Split out container-disk to a separate package since it is used
|
||||||
|
by virt-handler and virt-launcher
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 20 16:24:40 UTC 2020 - James Fehlig <jfehlig@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.31.0
|
||||||
|
Dropped rename-chroot.patch since the upstream variant is included
|
||||||
|
in this release
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 26 14:23:21 UTC 2020 - James Fehlig <jfehlig@suse.com>
|
||||||
|
|
||||||
|
- Rename chroot utility to virt-chroot
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 24 20:41:45 UTC 2020 - James Fehlig <jfehlig@suse.com>
|
||||||
|
|
||||||
|
- Add container-disk to virt-handler package
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 23 16:32:21 UTC 2020 - James Fehlig <jfehlig@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.30.0
|
||||||
|
Dropped build-fix.patch since the upstream variant is included
|
||||||
|
in this release
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 22 21:53:28 UTC 2020 - James Fehlig <jfehlig@suse.com>
|
||||||
|
|
||||||
|
- Add building of virt-launcher
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 28 20:25:18 UTC 2020 - James Fehlig <jfehlig@suse.com>
|
||||||
|
|
||||||
|
- Add building of virt-handler and virt-operator
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 11 23:12:08 UTC 2020 - James Fehlig <jfehlig@suse.com>
|
||||||
|
|
||||||
|
- Add building of virt-api and virt-controller
|
||||||
|
- Fix build
|
||||||
|
build-fix.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 6 22:56:05 UTC 2020 - James Fehlig <jfehlig@suse.com>
|
||||||
|
|
||||||
|
- Initial attempt to package kubevirt 0.29.0
|
168
kubevirt.spec
Normal file
168
kubevirt.spec
Normal file
@ -0,0 +1,168 @@
|
|||||||
|
#
|
||||||
|
# spec file for package kubevirt
|
||||||
|
#
|
||||||
|
# Copyright (c) 2020 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: kubevirt
|
||||||
|
Version: 0.32.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Container native virtualization
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: System/Packages
|
||||||
|
URL: https://github.com/kubevirt/kubevirt
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: glibc-devel-static
|
||||||
|
BuildRequires: golang(API) = 1.11
|
||||||
|
BuildRequires: golang-packaging
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: rsync
|
||||||
|
BuildRequires: sed
|
||||||
|
BuildRequires: pkgconfig(libvirt)
|
||||||
|
ExclusiveArch: x86_64
|
||||||
|
|
||||||
|
%description
|
||||||
|
Kubevirt is a virtual machine management add-on for Kubernetes
|
||||||
|
|
||||||
|
%package virtctl
|
||||||
|
Summary: Client for managing kubevirt
|
||||||
|
|
||||||
|
%description virtctl
|
||||||
|
The virtctl client is a command-line utility for managing container native virtualization resources
|
||||||
|
|
||||||
|
%package virt-api
|
||||||
|
Summary: Kubevirt API server
|
||||||
|
|
||||||
|
%description virt-api
|
||||||
|
The virt-api package provides the kubernetes API extension for kubevirt
|
||||||
|
|
||||||
|
%package container-disk
|
||||||
|
Summary: Container disk for kubevirt
|
||||||
|
|
||||||
|
%description container-disk
|
||||||
|
The containter-disk package provides a container disk functionality for kubevirt
|
||||||
|
|
||||||
|
%package virt-controller
|
||||||
|
Summary: Controller for kubevirt
|
||||||
|
|
||||||
|
%description virt-controller
|
||||||
|
The virt-controller package provides a controller for kubevirt
|
||||||
|
|
||||||
|
%package virt-handler
|
||||||
|
Summary: Handler component for kubevirt
|
||||||
|
|
||||||
|
%description virt-handler
|
||||||
|
The virt-handler package provides a handler for kubevirt
|
||||||
|
|
||||||
|
%package virt-launcher
|
||||||
|
Summary: Launcher component for kubevirt
|
||||||
|
|
||||||
|
%description virt-launcher
|
||||||
|
The virt-launcher package provides a launcher for kubevirt
|
||||||
|
|
||||||
|
%package virt-operator
|
||||||
|
Summary: Operator component for kubevirt
|
||||||
|
|
||||||
|
%description virt-operator
|
||||||
|
The virt-opertor package provides an operator for kubevirt CRD
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
mkdir -p go/src/kubevirt.io go/pkg
|
||||||
|
ln -s ../../../ go/src/kubevirt.io/kubevirt
|
||||||
|
export GOPATH=${PWD}/go
|
||||||
|
cd ${GOPATH}/src/kubevirt.io/kubevirt
|
||||||
|
env \
|
||||||
|
KUBEVIRT_GO_BASE_PKGDIR="${GOPATH}/pkg" \
|
||||||
|
KUBEVIRT_VERSION=%{version} \
|
||||||
|
KUBEVIRT_SOURCE_DATE_EPOCH="$(date -r LICENSE +%{s})" \
|
||||||
|
KUBEVIRT_GIT_COMMIT='v%{version}' \
|
||||||
|
KUBEVIRT_GIT_VERSION='v%{version}' \
|
||||||
|
KUBEVIRT_GIT_TREE_STATE="clean" \
|
||||||
|
./hack/build-go.sh install \
|
||||||
|
cmd/virtctl \
|
||||||
|
cmd/virt-api \
|
||||||
|
cmd/virt-controller \
|
||||||
|
cmd/virt-chroot \
|
||||||
|
cmd/virt-handler \
|
||||||
|
cmd/virt-launcher \
|
||||||
|
cmd/virt-operator \
|
||||||
|
tools/csv-generator \
|
||||||
|
%{nil}
|
||||||
|
./hack/build-copy-artifacts.sh
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
|
|
||||||
|
chmod 0755 _out/cmd/container-disk-v2alpha/container-disk
|
||||||
|
install -p -m 0755 _out/cmd/container-disk-v2alpha/container-disk %{buildroot}%{_bindir}/
|
||||||
|
chmod 0755 _out/cmd/virtctl/virtctl
|
||||||
|
install -p -m 0755 _out/cmd/virtctl/virtctl %{buildroot}%{_bindir}/
|
||||||
|
chmod 0755 _out/cmd/virt-api/virt-api
|
||||||
|
install -p -m 0755 _out/cmd/virt-api/virt-api %{buildroot}%{_bindir}/
|
||||||
|
chmod 0755 _out/cmd/virt-controller/virt-controller
|
||||||
|
install -p -m 0755 _out/cmd/virt-controller/virt-controller %{buildroot}%{_bindir}/
|
||||||
|
chmod 0755 _out/cmd/virt-chroot/virt-chroot
|
||||||
|
install -p -m 0755 _out/cmd/virt-chroot/virt-chroot %{buildroot}%{_bindir}/
|
||||||
|
chmod 0755 _out/cmd/virt-handler/virt-handler
|
||||||
|
install -p -m 0755 _out/cmd/virt-handler/virt-handler %{buildroot}%{_bindir}/
|
||||||
|
chmod 0755 _out/cmd/virt-launcher/virt-launcher
|
||||||
|
install -p -m 0755 _out/cmd/virt-launcher/virt-launcher %{buildroot}%{_bindir}/
|
||||||
|
chmod 0755 _out/cmd/virt-operator/virt-operator
|
||||||
|
install -p -m 0755 _out/cmd/virt-operator/virt-operator %{buildroot}%{_bindir}/
|
||||||
|
chmod 0755 _out/cmd/csv-generator/csv-generator
|
||||||
|
install -p -m 0755 _out/cmd/csv-generator/csv-generator %{buildroot}%{_bindir}/
|
||||||
|
|
||||||
|
|
||||||
|
%files virtctl
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/virtctl
|
||||||
|
|
||||||
|
%files virt-api
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/virt-api
|
||||||
|
|
||||||
|
%files container-disk
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/container-disk
|
||||||
|
|
||||||
|
%files virt-controller
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/virt-controller
|
||||||
|
|
||||||
|
%files virt-handler
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/virt-handler
|
||||||
|
%{_bindir}/virt-chroot
|
||||||
|
|
||||||
|
%files virt-launcher
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/virt-launcher
|
||||||
|
|
||||||
|
%files virt-operator
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/virt-operator
|
||||||
|
%{_bindir}/csv-generator
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user