import cockpit-podman-32-2.module+el8.5.0+11957+18363336

This commit is contained in:
CentOS Sources 2021-07-28 05:20:06 +00:00 committed by Andrew Lukoshko
parent 3da2566627
commit e9bfae505d
5 changed files with 43 additions and 33 deletions

View File

@ -1 +1 @@
77aa54b1a76e5f42600de56f980ce4b3176d64d3 SOURCES/cockpit-podman-29.tar.gz
b884079550e51359bbf5c81a849b20b8dcbe9e42 SOURCES/cockpit-podman-32.tar.gz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/cockpit-podman-29.tar.gz
SOURCES/cockpit-podman-32.tar.gz

22
SOURCES/739.patch Normal file
View File

@ -0,0 +1,22 @@
From 524c56af2571d187097a1c5e271008b641babeb4 Mon Sep 17 00:00:00 2001
From: Matej Marusak <mmarusak@redhat.com>
Date: Tue, 20 Jul 2021 14:59:19 +0200
Subject: [PATCH] test: Don't check if user or system service failed to start
It seems that this can hit system podman as well.
---
test/check-application | 1 -
1 file changed, 1 deletion(-)
diff --git a/test/check-application b/test/check-application
index 04508c61..47cf95f0 100755
--- a/test/check-application
+++ b/test/check-application
@@ -110,7 +110,6 @@ class TestApplication(testlib.MachineCase):
b.wait_not_present("#overview div.pf-c-alert")
except testlib.Error:
if system:
- b.wait_in_text("#overview div.pf-c-alert .pf-c-alert__title", "User Podman service is also available")
b.click("#overview div.pf-c-alert .pf-c-alert__action > button:contains(Start)")
b.wait_not_present("#overview div.pf-c-alert")
else:

View File

@ -1,24 +0,0 @@
From d4f06e0e0b9529bfa3d17c1ef73c028752ee1bb7 Mon Sep 17 00:00:00 2001
From: Martin Pitt <martin@piware.de>
Date: Thu, 4 Mar 2021 20:11:47 +0100
Subject: [PATCH] test: Generalize cgroupsV2() for all rhel-8-* versions
It looks like RHEL newer 8.y versions won't get cgroupsv2 either, so
generalize the check.
---
test/check-application | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/check-application b/test/check-application
index 0b163ce7..a40f2d90 100755
--- a/test/check-application
+++ b/test/check-application
@@ -80,7 +80,7 @@ class TestApplication(testlib.MachineCase):
self.has_selinux = self.machine.image not in ["debian-testing", "ubuntu-stable"]
def cgroupsV2(self):
- return self.machine.image not in ["ubuntu-stable", "rhel-8-4"]
+ return self.machine.image != 'ubuntu-stable' and not self.machine.image.startswith('rhel-8')
def execute(self, system, cmd):
if system:

View File

@ -1,15 +1,13 @@
# This spec file has been automatically updated
Version: 29
Release: 3%{?dist}
Version: 32
Release: 2%{?dist}
Name: cockpit-podman
Summary: Cockpit component for Podman containers
License: LGPLv2+
URL: https://github.com/cockpit-project/cockpit-podman
Source0: https://github.com/cockpit-project/cockpit-podman/releases/download/%{version}/cockpit-podman-%{version}.tar.gz
# related bug: https://bugzilla.redhat.com/show_bug.cgi?id=1937863
# patch: https://patch-diff.githubusercontent.com/raw/cockpit-project/cockpit-podman/pull/688.patch
Patch0: cockpit-podman-1937863.patch
Patch0: https://patch-diff.githubusercontent.com/raw/cockpit-project/cockpit-podman/pull/739.patch
BuildArch: noarch
BuildRequires: libappstream-glib
@ -21,8 +19,6 @@ The Cockpit user interface for Podman containers.
%prep
%setup -q -n cockpit-podman
# https://bugzilla.redhat.com/show_bug.cgi?id=1937863
%patch0 -p1
%build
@ -39,6 +35,22 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*
%{_datadir}/metainfo/*
%changelog
* Wed Jul 21 2021 Jindrich Novy <jnovy@redhat.com> - 32-2
- attempt to fix gating tests - thanks for Matej Marusak
- Related: #1934415
* Mon Jul 05 2021 Jindrich Novy <jnovy@redhat.com> - 32-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/32
- Related: #1934415
* Wed May 26 2021 Jindrich Novy <jnovy@redhat.com> - 31-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/31
- Related: #1934415
* Mon Apr 26 2021 Jindrich Novy <jnovy@redhat.com> - 30-1
- fix gating test failure for cockpit-podman
- Related: #1934415
* Thu Mar 11 2021 Jindrich Novy <jnovy@redhat.com> - 29-3
- fix gating test failure for cockpit-podman
- Related: #1934415