Accepting request 1155539 from home:vulyanov:branches:Virtualization
- Update to version 1.2.0 Release notes https://github.com/kubevirt/kubevirt/releases/tag/v1.2.0 - Drop upstreamed patch 0001-tests-Adapt-VM-phase-expectation.patch - Pack configuration files for libvirt OBS-URL: https://build.opensuse.org/request/show/1155539 OBS-URL: https://build.opensuse.org/package/show/Virtualization/kubevirt?expand=0&rev=149
This commit is contained in:
parent
ae4ea76c29
commit
ce9876fc85
@ -1,29 +0,0 @@
|
||||
From aa6647c263408bdf0518d74da2d4c37d3bb42de0 Mon Sep 17 00:00:00 2001
|
||||
From: Vasiliy Ulyanov <vulyanov@suse.de>
|
||||
Date: Wed, 13 Dec 2023 08:10:37 +0100
|
||||
Subject: [PATCH] tests: Adapt VM phase expectation
|
||||
|
||||
When CDI uses volume populators with malformed DataVolume, the VM
|
||||
initially transitions to Scheduling phase.
|
||||
|
||||
Signed-off-by: Vasiliy Ulyanov <vulyanov@suse.de>
|
||||
---
|
||||
tests/storage/datavolume.go | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/storage/datavolume.go b/tests/storage/datavolume.go
|
||||
index 46677257d..9d86d0eac 100644
|
||||
--- a/tests/storage/datavolume.go
|
||||
+++ b/tests/storage/datavolume.go
|
||||
@@ -536,7 +536,7 @@ var _ = SIGDescribe("DataVolume Integration", func() {
|
||||
vm, err = virtClient.VirtualMachine(vm.Namespace).Create(context.Background(), vm)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
|
||||
- Eventually(ThisVMIWith(vm.Namespace, vm.Name), 100).Should(BeInPhase(v1.Pending))
|
||||
+ Eventually(ThisVMIWith(vm.Namespace, vm.Name), 100).Should(Or(BeInPhase(v1.Pending), BeInPhase(v1.Scheduling)))
|
||||
|
||||
By("Creating a service which makes the registry reachable")
|
||||
_, err = virtClient.CoreV1().Services(vm.Namespace).Create(context.Background(), &k8sv1.Service{
|
||||
--
|
||||
2.43.0
|
||||
|
2
_service
2
_service
@ -1,7 +1,7 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="manual">
|
||||
<param name="filename">kubevirt</param>
|
||||
<param name="revision">v1.1.1</param>
|
||||
<param name="revision">v1.2.0</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="submodules">disable</param>
|
||||
<param name="url">https://github.com/kubevirt/kubevirt</param>
|
||||
|
@ -22,7 +22,7 @@ spec:
|
||||
serviceAccountName: kubevirt-testing
|
||||
containers:
|
||||
- name: target
|
||||
image: quay.io/kubevirt/disks-images-provider:v1.1.1
|
||||
image: quay.io/kubevirt/disks-images-provider:v1.2.0
|
||||
imagePullPolicy: Always
|
||||
lifecycle:
|
||||
preStop:
|
||||
|
BIN
kubevirt-1.1.1.tar.gz
(Stored with Git LFS)
BIN
kubevirt-1.1.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
kubevirt-1.2.0.tar.gz
Normal file
3
kubevirt-1.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e5a0d708d26c650ce64e60dec4a3525412d5c9f5ec04f6c2e25ba29fc9bef321
|
||||
size 16911337
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 6 07:45:30 UTC 2024 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
||||
|
||||
- Update to version 1.2.0
|
||||
Release notes https://github.com/kubevirt/kubevirt/releases/tag/v1.2.0
|
||||
- Drop upstreamed patch
|
||||
0001-tests-Adapt-VM-phase-expectation.patch
|
||||
- Pack configuration files for libvirt
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 12 06:27:45 UTC 2024 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
||||
%endif
|
||||
|
||||
Name: kubevirt
|
||||
Version: 1.1.1
|
||||
Version: 1.2.0
|
||||
Release: 0
|
||||
Summary: Container native virtualization
|
||||
License: Apache-2.0
|
||||
@ -41,13 +41,12 @@ Source1: kubevirt_containers_meta
|
||||
Source2: kubevirt_containers_meta.service
|
||||
Source3: %{url}/releases/download/v%{version}/disks-images-provider.yaml
|
||||
Source100: %{name}-rpmlintrc
|
||||
Patch1: 0001-tests-Adapt-VM-phase-expectation.patch
|
||||
BuildRequires: glibc-devel-static
|
||||
BuildRequires: golang-packaging
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: rsync
|
||||
BuildRequires: sed
|
||||
BuildRequires: golang(API) >= 1.19
|
||||
BuildRequires: golang(API) >= 1.21
|
||||
BuildRequires: pkgconfig(libvirt)
|
||||
ExclusiveArch: %{_exclusive_arch}
|
||||
|
||||
@ -280,6 +279,11 @@ install -p -m 0644 cmd/virt-handler/virt_launcher.cil %{buildroot}%{_datadir}/ku
|
||||
mkdir -p %{buildroot}%{_datadir}/kube-virt/pr-helper
|
||||
install -p -m 0644 cmd/pr-helper/multipath.conf %{buildroot}%{_datadir}/kube-virt/pr-helper/
|
||||
|
||||
# Configuration files for libvirt
|
||||
mkdir -p %{buildroot}%{_datadir}/kube-virt/virt-launcher
|
||||
install -p -m 0644 cmd/virt-launcher/virtqemud.conf %{buildroot}%{_datadir}/kube-virt/virt-launcher
|
||||
install -p -m 0644 cmd/virt-launcher/qemu.conf %{buildroot}%{_datadir}/kube-virt/virt-launcher
|
||||
|
||||
# Install release manifests
|
||||
mkdir -p %{buildroot}%{_datadir}/kube-virt/manifests/release
|
||||
install -m 0644 _out/manifests/release/kubevirt-operator.yaml %{buildroot}%{_datadir}/kube-virt/manifests/release/
|
||||
@ -340,12 +344,15 @@ install -m 0644 %{S:2} %{buildroot}%{_prefix}/lib/obs/service
|
||||
%files virt-launcher
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%dir %{_datadir}/kube-virt
|
||||
%dir %{_datadir}/kube-virt/virt-launcher
|
||||
%{_bindir}/virt-launcher
|
||||
%{_bindir}/virt-launcher-monitor
|
||||
%{_bindir}/virt-freezer
|
||||
%{_bindir}/virt-probe
|
||||
%{_bindir}/virt-tail
|
||||
%{_bindir}/node-labeller.sh
|
||||
%{_datadir}/kube-virt/virt-launcher
|
||||
|
||||
%files virt-operator
|
||||
%license LICENSE
|
||||
|
Loading…
x
Reference in New Issue
Block a user