Move to FMF tests, sync dist-git with Fedora rawhide

As cockpit-podman is not in a module stream any more in RHEL 9, we can
finally drop the STI tests and move to the FMF ones that we use upstream
and in Fedora. This gets rid of the outdated duplicated test scripts
(which recently stopped working, too).

Also sync the other dist-git files for simplicity. The upstream
%changelog contains more information, RHEL bug references are enough in the
git changelog, and the rest of the packaging was getting outdated.

Related: rhbz#2176063
This commit is contained in:
Martin Pitt 2023-04-17 06:33:00 +02:00
parent 79e80cb010
commit b4b67f2faa
11 changed files with 307 additions and 285 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

70
.gitignore vendored
View File

@ -1 +1,69 @@
/*.tar.*
/cockpit-podman-1.tar.gz
/cockpit-podman-2.tar.gz
/cockpit-podman-3.tar.gz
/cockpit-podman-4.tar.gz
/cockpit-podman-5.tar.gz
/cockpit-podman-6.tar.gz
/cockpit-podman-7.tar.gz
/cockpit-podman-8.tar.gz
/cockpit-podman-9.tar.gz
/cockpit-podman-10.tar.gz
/cockpit-podman-11.tar.gz
/cockpit-podman-12.tar.gz
/cockpit-podman-13.tar.gz
/cockpit-podman-14.tar.gz
/cockpit-podman-15.tar.gz
/cockpit-podman-16.tar.gz
/cockpit-podman-17.tar.gz
/cockpit-podman-18.tar.gz
/cockpit-podman-19.tar.gz
/cockpit-podman-20.tar.gz
/cockpit-podman-21.tar.gz
/cockpit-podman-22.tar.gz
/cockpit-podman-23.tar.gz
/cockpit-podman-24.tar.gz
/cockpit-podman-25.tar.gz
/cockpit-podman-26.tar.gz
/cockpit-podman-27.tar.gz
/cockpit-podman-27.1.tar.gz
/cockpit-podman-28.tar.gz
/cockpit-podman-28.1.tar.gz
/cockpit-podman-29.tar.gz
/cockpit-podman-30.tar.gz
/cockpit-podman-31.tar.gz
/cockpit-podman-32.tar.gz
/cockpit-podman-33.tar.gz
/cockpit-podman-34.tar.gz
/cockpit-podman-35.tar.xz
/cockpit-podman-36.tar.xz
/cockpit-podman-37.tar.xz
/cockpit-podman-38.tar.xz
/cockpit-podman-39.tar.xz
/cockpit-podman-40.tar.xz
/cockpit-podman-41.tar.xz
/cockpit-podman-42.tar.xz
/cockpit-podman-43.tar.xz
/cockpit-podman-44.tar.xz
/cockpit-podman-45.tar.xz
/cockpit-podman-46.tar.xz
/cockpit-podman-47.tar.xz
/cockpit-podman-48.tar.xz
/cockpit-podman-49.tar.xz
/cockpit-podman-49.1.tar.xz
/cockpit-podman-50.tar.xz
/cockpit-podman-51.1.tar.xz
/cockpit-podman-52.tar.xz
/cockpit-podman-53.tar.xz
/cockpit-podman-54.tar.xz
/cockpit-podman-55.tar.xz
/cockpit-podman-56.tar.xz
/cockpit-podman-57.tar.xz
/cockpit-podman-58.tar.xz
/cockpit-podman-59.tar.xz
/cockpit-podman-60.tar.xz
/cockpit-podman-61.tar.xz
/cockpit-podman-62.tar.xz
/cockpit-podman-63.tar.xz
/cockpit-podman-64.tar.xz
/cockpit-podman-65.tar.xz
/cockpit-podman-66.tar.xz

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# cockpit-podman
The cockpit-podman package

View File

@ -1,9 +1,25 @@
#
# Copyright (C) 2017-2020 Red Hat, Inc.
#
# Cockpit is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Cockpit is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Cockpit; If not, see <http://www.gnu.org/licenses/>.
#
Name: cockpit-podman
Version: 66
Version: 66
Release: 1%{?dist}
Summary: Cockpit component for Podman containers
License: LGPLv2+
License: LGPL-2.1-or-later
URL: https://github.com/cockpit-project/cockpit-podman
Source0: https://github.com/cockpit-project/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
@ -15,8 +31,43 @@ BuildRequires: gettext
BuildRequires: libappstream-glib-devel
%endif
Requires: cockpit-bridge >= 138
Requires: cockpit-bridge
Requires: podman >= 2.0.4
# HACK https://github.com/containers/crun/issues/1091
%if 0%{?fedora} == 36 || 0%{?fedora} == 37 || 0%{?centos} == 9
Requires: criu-libs
%endif
Provides: bundled(npm(@patternfly/patternfly)) = 4.224.4
Provides: bundled(npm(@patternfly/react-core)) = 4.276.9
Provides: bundled(npm(@patternfly/react-icons)) = 4.93.6
Provides: bundled(npm(@patternfly/react-styles)) = 4.92.7
Provides: bundled(npm(@patternfly/react-table)) = 4.113.1
Provides: bundled(npm(@patternfly/react-tokens)) = 4.94.6
Provides: bundled(npm(attr-accept)) = 1.1.3
Provides: bundled(npm(core-js)) = 2.6.12
Provides: bundled(npm(date-fns)) = 2.28.0
Provides: bundled(npm(docker-names)) = 1.2.1
Provides: bundled(npm(file-selector)) = 0.1.19
Provides: bundled(npm(focus-trap)) = 6.9.2
Provides: bundled(npm(js-tokens)) = 4.0.0
Provides: bundled(npm(lodash)) = 4.17.21
Provides: bundled(npm(loose-envify)) = 1.4.0
Provides: bundled(npm(object-assign)) = 4.1.1
Provides: bundled(npm(popper.js)) = 1.16.1
Provides: bundled(npm(prop-types-extra)) = 1.1.1
Provides: bundled(npm(prop-types)) = 15.8.1
Provides: bundled(npm(react-dom)) = 18.2.0
Provides: bundled(npm(react-dropzone)) = 9.0.0
Provides: bundled(npm(react-is)) = 16.13.1
Provides: bundled(npm(react)) = 18.2.0
Provides: bundled(npm(scheduler)) = 0.23.0
Provides: bundled(npm(tabbable)) = 5.3.3
Provides: bundled(npm(throttle-debounce)) = 2.3.0
Provides: bundled(npm(tippy.js)) = 5.1.2
Provides: bundled(npm(tslib)) = 2.5.0
Provides: bundled(npm(warning)) = 4.0.3
Provides: bundled(npm(xterm)) = 4.18.0
%description
The Cockpit user interface for Podman containers.
@ -33,325 +84,332 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*
%files
%doc README.md
%license LICENSE
%license LICENSE dist/index.js.LEGAL.txt dist/index.css.LEGAL.txt
%{_datadir}/cockpit/*
%{_datadir}/metainfo/*
%changelog
* Tue Apr 11 2023 Jindrich Novy <jnovy@redhat.com> - 66-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/66
- Related: #2176063
* Tue Apr 11 2023 Packit <hello@packit.dev> - 66-1
- Container list can be sorted
- Custom healthcheck actions
* Fri Mar 24 2023 Jindrich Novy <jnovy@redhat.com> - 65-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/65
- Related: #2176063
* Wed Mar 22 2023 Packit <hello@packit.dev> - 65-1
- Show dialog errors at the top of the dialogs
- Build system and documentation improvements
* Tue Feb 28 2023 Jindrich Novy <jnovy@redhat.com> - 63.1-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/63.1
- Related: #2124478
* Wed Mar 08 2023 Packit <hello@packit.dev> - 64-1
- Supports the esbuild bundler
- Stability and performance improvements
* Mon Feb 27 2023 Jindrich Novy <jnovy@redhat.com> - 63-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/63
- Related: #2124478
* Wed Feb 22 2023 Packit <hello@packit.dev> - 63-1
- Stability and performance improvements
* Wed Feb 08 2023 Jindrich Novy <jnovy@redhat.com> - 62-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/62
- Related: #2124478
* Wed Feb 08 2023 Packit <hello@packit.dev> - 62-1
- Stability and performance improvements
* Thu Jan 26 2023 Jindrich Novy <jnovy@redhat.com> - 61-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/61
- Related: #2124478
* Wed Jan 25 2023 Packit <hello@packit.dev> - 61-1
- Use container image's default command
- Fix tabular numbers font
* Wed Jan 18 2023 Jindrich Novy <jnovy@redhat.com> - 60-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/60
- Related: #2124478
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 60-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Mon Jan 02 2023 Jindrich Novy <jnovy@redhat.com> - 59-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/59
- Related: #2124478
* Thu Jan 12 2023 Packit <hello@packit.dev> - 60-1
- Patternfly update and other maintenance
* Fri Dec 02 2022 Jindrich Novy <jnovy@redhat.com> - 58-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/58
- Related: #2124478
* Thu Dec 22 2022 Packit <hello@packit.dev> - 59-1
- Start using tabular fonts
- Other UI fixes and improvements
* Wed Nov 16 2022 Jindrich Novy <jnovy@redhat.com> - 57-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/57
- Related: #2124478
* Tue Nov 08 2022 Jindrich Novy <jnovy@redhat.com> - 56-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/56
- Related: #2124478
* Thu Dec 01 2022 Packit <hello@packit.dev> - 58-1
- Performance and stability improvements
* Wed Oct 19 2022 Jindrich Novy <jnovy@redhat.com> - 55-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/55
- Related: #2124478
* Tue Oct 18 2022 Jindrich Novy <jnovy@redhat.com> - 54-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/54
- Related: #2124478
* Wed Nov 16 2022 Packit <hello@packit.dev> - 57-1
- Performance and stability improvements
* Fri Sep 16 2022 Jindrich Novy <jnovy@redhat.com> - 53-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/53
- Related: #2062589
* Tue Aug 23 2022 Jindrich Novy <jnovy@redhat.com> - 52-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/52
- Related: #2061316
* Mon Nov 07 2022 Packit <hello@packit.dev> - 56-1
- Dark theme support
* Tue Jul 26 2022 Jindrich Novy <jnovy@redhat.com> - 51.1-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/51.1
- Related: #2061316
* Mon Jun 27 2022 Jindrich Novy <jnovy@redhat.com> - 50-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/50
- Related: #2061316
* Wed Oct 19 2022 Packit <hello@packit.dev> - 55-1
- Pod CPU, memory, port and volume details
- Create new pod group functionality
* Thu Jun 09 2022 Jindrich Novy <jnovy@redhat.com> - 49.1-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/49.1
- Related: #2061316
* Wed May 25 2022 Jindrich Novy <jnovy@redhat.com> - 48-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/48
- Related: #2061316
* Wed Sep 21 2022 Packit <hello@packit.dev> - 54-1
- Show all containers by default
* Fri Apr 29 2022 Jindrich Novy <jnovy@redhat.com> - 47-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/47
- Related: #2061316
* Wed Apr 13 2022 Jindrich Novy <jnovy@redhat.com> - 46-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/46
- Related: #2061316
* Wed Sep 07 2022 Packit <hello@packit.dev> - 53-1
- Stability and performance improvements
* Wed Mar 30 2022 Jindrich Novy <jnovy@redhat.com> - 45-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/45
- Related: #2061316
* Fri Mar 25 2022 Jindrich Novy <jnovy@redhat.com> - 44-2
- use spec file from the upstream source
- Related: #2061316
* Wed Aug 24 2022 Packit <hello@packit.dev> - 52-1
- Add Volumes and Env Variables to container details
- Show volume permission in container integration tab
- Allow no system users to set restart policy
- Show image history
* Thu Mar 24 2022 Jindrich Novy <jnovy@redhat.com> - 44-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/44
- Related: #2061316
* Wed Mar 02 2022 Jindrich Novy <jnovy@redhat.com> - 43-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/43
- Related: #2017345
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 51.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Feb 17 2022 Jindrich Novy <jnovy@redhat.com> - 42-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/42
- Related: #2000051
* Wed Jul 20 2022 Packit <hello@packit.dev> - 51.1-1
- Fix FMF tests running on release tarball
* Thu Feb 03 2022 Jindrich Novy <jnovy@redhat.com> - 41-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/41
- Related: #2000051
* Mon Jan 24 2022 Jindrich Novy <jnovy@redhat.com> - 40-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/40
- Related: #2000051
* Thu Jun 23 2022 Packit <hello@packit.dev> - 50-1
- Use NumberInput for Image Run Dialog
* Wed Jan 05 2022 Jindrich Novy <jnovy@redhat.com> - 39-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/39
- Related: #2000051
* Fri Dec 10 2021 Jindrich Novy <jnovy@redhat.com> - 38-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/38
- Related: #2000051
* Thu Jun 09 2022 Packit <hello@packit.dev> - 49.1-1
- Fix release tarball
* Thu Nov 25 2021 Jindrich Novy <jnovy@redhat.com> - 37-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/37
- Related: #2000051
* Wed Nov 10 2021 Jindrich Novy <jnovy@redhat.com> - 36-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/36
- Related: #2000051
* Wed Jun 08 2022 Packit <hello@packit.dev> - 49-1
- Show container names in CPU usage overview
* Wed Sep 15 2021 Jindrich Novy <jnovy@redhat.com> - 35-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/35
- Related: #2000051
* Mon Sep 06 2021 Jindrich Novy <jnovy@redhat.com> - 34-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/34
- Related: #2000051
* Tue May 24 2022 Marius Vollmer <mvollmer@redhat.com> - 48-1
- Podman: Container renaming
- Podman: Health check support
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 33-2
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Apr 28 2022 Jelle van der Waa <jvanderwaa@redhat.com> - 47-1
- Translation updates
* Thu Aug 05 2021 Jindrich Novy <jnovy@redhat.com> - 33-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/33
- Related: #1970747
* Wed Apr 13 2022 Martin Pitt <martin@piware.de> - 46-1
- Translation updates
- Test fixes
* Mon Jul 05 2021 Jindrich Novy <jnovy@redhat.com> - 32-1
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/32
- Related: #1970747
* Wed Mar 30 2022 Matej Marusak <mmarusak@redhat.com> - 45-1
- Translation updates
* Mon Jun 14 2021 Jindrich Novy <jnovy@redhat.com> - 31-2
- update to https://github.com/cockpit-project/cockpit-podman/releases/tag/31
- Related: #1970747
* Wed Mar 16 2022 Simon Kobyda <skobyda@redhat.com> - 44-1
- Always use base 10 size units
- Move owner option to details tab
* Wed Mar 02 2022 Martin Pitt <martin@piware.de> - 43-1
- Translation updates (rhbz#2017345, #2017266)
* Wed Feb 16 2022 Jelle van der Waa <jvanderwaa@redhat.com> - 42-1
- Tests improvements and stabilization
* Wed Feb 02 2022 Martin Pitt <martin@piware.de> - 41-1
- Adjust for podman 4.0 API break
- Improve page layout on mobile devices
* Mon Jan 24 2022 Matej Marusak <mmarusak@redhat.com> - 40-1
- Add pause/resume to containers
- Always pull the latest image when creating a new container
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 39-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jan 05 2022 Simon Kobyda <skobyda@redhat.com> - 39-1
- Create container in pod
- Podman restart policy
- Allow inserting multiple environment variables
* Thu Dec 09 2021 Marius Vollmer <mvollmer@redhat.com> - 38-1
- Updated translations
- Consistent colors for pod and container running status
* Wed Nov 24 2021 Allison Karlitskaya <allison.karlitskaya@redhat.com> - 37-1
- Improved image commit UI
- PatternFly updates and fixes
* Wed Nov 10 2021 Katerina Koukiou <kkoukiou@redhat.com> - 36-1
- Prune unused images
- New “Create container” workflow
* Wed Sep 15 2021 Katerina Koukiou <kkoukiou@redhat.com> - 35-1
- Some nice UI improvements
* Wed Sep 01 2021 Simon Kobyda <skobyda@redhat.com> - 34-1
- First iteration of page redesign
* Wed Aug 04 2021 Martin Pitt <martin@piware.de> - 33-1
- Add Japanese translations (rhbz#1980212)
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 32-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jul 02 2021 Martin Pitt <martin@piware.de> - 32-1
- PatternFly and other npm module updates
* Wed May 26 2021 Matej Marusak <mmarusak@redhat.com> - 31-1
- Added Korean translation
* Wed Apr 14 2021 Matej Marusak <mmarusak@redhat.com> - 30-1
- Translation updates
- PatternFly 4 updates
- Fix crash with "Used Images" links
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 29-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Fri Feb 19 2021 Martin Pitt <martin@piware.de> - 29-1
- PatternFly 4 updates for a more consistent UI
- Accessibility fixes
- Add FMF tests for sharing tests with up- and downstream
* Thu Feb 11 2021 Matej Marusak <mmarusak@redhat.com> - 28.1-1
* Thu Feb 11 2021 Matej Marusak <mmarusak@redhat.com> - 28.1-1
- Improve tests to be more robust against unstable Podman API
* Thu Feb 04 2021 Matej Marusak <mmarusak@redhat.com> - 28-1
* Thu Feb 04 2021 Matej Marusak <mmarusak@redhat.com> - 28-1
- Drop cockpit-system dependency
- Correctly show selected option for SELinux labels
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 27.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Jan 07 2021 Matej Marusak <mmarusak@redhat.com> - 27.1-1
- test: Drop forgotten sit() to make tests work in gating
* Thu Jan 07 2021 Matej Marusak <mmarusak@redhat.com> - 27-1
* Thu Jan 07 2021 Matej Marusak <mmarusak@redhat.com> - 27-1
- images: Indicate that force deletion is in progress
- images: Fix handling of errors on pull
- Use packaged sassc instead of node-sass
- tests: Adjust to new Podman versions and robustify them
* Wed Dec 09 2020 Marius Vollmer <mvollmer@redhat.com> - 26-1
- run: Make hostPort optional
- run: Enable setting up IP address for exposed ports
* Wed Oct 14 2020 Sanne Raymaekers <sanne.raymaekers@gmail.com> - 25-1
- Listen for image build event
* Wed Sep 30 2020 Marius Vollmer <mvollmer@redhat.com> - 24-1
* Wed Sep 30 2020 Marius Vollmer <mvollmer@redhat.com> - 24-1
- Use sentence case in the UI
* Wed Sep 02 2020 Martin Pitt <martin@piware.de> - 23-1
* Wed Sep 02 2020 Martin Pitt <martin@piware.de> - 23-1
- Translation updates
* Wed Aug 19 2020 Marius Vollmer <mvollmer@redhat.com> - 22-1
* Wed Aug 19 2020 Marius Vollmer <mvollmer@redhat.com> - 22-1
- Support for pod group deletion
* Wed Aug 05 2020 Matej Marusak <mmarusak@redhat.com> - 21-1
* Wed Aug 05 2020 Matej Marusak <mmarusak@redhat.com> - 21-1
- Support for pod groups
- Support checkpoint and restore
- Registry selection in "download image" dialog
- Selected tag removal during deletion
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jul 22 2020 Katerina Koukiou <kkoukiou@redhat.com> - 20-1
- Show networking information for containers
- Enable filtering images and containers by owner
- Optionally show intermediate images
- Enable setting up SELinux label when mounting volumes
* Wed Jul 15 2020 Matej Marusak <mmarusak@redhat.com> - 19-1
* Wed Jul 15 2020 Matej Marusak <mmarusak@redhat.com> - 19-1
- Switch to the new Podman REST API
- Improve displaying on small screens
* Mon Jun 15 2020 Matej Marusak <mmarusak@redhat.com> - 18-1
* Mon Jun 15 2020 Matej Marusak <mmarusak@redhat.com> - 18-1
- Bump NPM dependencies to their latest versions
- Stop importing cockpit's deprecated base1/patternfly.css
- Synchronize style with the newest Cockpit
* Thu May 14 2020 Matej Marusak <mmarusak@redhat.com> - 17-1
* Thu May 14 2020 Matej Marusak <mmarusak@redhat.com> - 17-1
- Translation updates
- Adjust tests to changed Services page in Cockpit 218
* Wed Apr 29 2020 Martin Pitt <martin@piware.de> - 16-1
* Wed Apr 29 2020 Martin Pitt <martin@piware.de> - 16-1
- Restyle buttons and dropdowns to be consistent with Cockpit
- Disable button and show a spinner while delete operation is in progress
- Translation updates
* Thu Apr 16 2020 Martin Pitt <martin@piware.de> - 15-3
* Thu Apr 16 2020 Martin Pitt <martin@piware.de> - 15-3
- Drop obsolete functionality for Fedora Atomic
- Localize dates and times
- Make tests non-destructive, to support Fedora gating
* Wed Mar 04 2020 Martin Pitt <martin@piware.de> - 14-1
* Wed Mar 04 2020 Martin Pitt <martin@piware.de> - 14-1
- Fix crash on filtering anonymous images
- Translation updates
* Wed Feb 05 2020 sanne raymaekers <sanne.raymaekers@gmail.com> - 13-1
* Wed Feb 05 2020 sanne raymaekers <sanne.raymaekers@gmail.com> - 13-1
- Show historical logs
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Jan 08 2020 Katerina Koukiou <kkoukiou@redhat.com> - 12-1
- Configure CPU share for system containers
* Wed Nov 27 2019 Martin Pitt <martin@piware.de> - 11-1
* Wed Nov 27 2019 Martin Pitt <martin@piware.de> - 11-1
- Fix Alert notification in Image Search Modal
- Allow more than a single Error Notification for Container action errors
- Various Alert cleanups
- Translation updates
* Wed Oct 30 2019 Sanne Raymaekers <sanne.raymaekers@gmail.com> - 10-1
* Wed Oct 30 2019 Sanne Raymaekers <sanne.raymaekers@gmail.com> - 10-1
- Support for user containers
* Wed Oct 02 2019 Martin Pitt <martin@piware.de> - 9-1
* Wed Oct 02 2019 Martin Pitt <martin@piware.de> - 9-1
- Minimize CSS in production builds
- Bump NPM dependencies to latest versions
* Wed Sep 04 2019 Martin Pitt <martin@piware.de> - 8-1
* Wed Sep 04 2019 Martin Pitt <martin@piware.de> - 8-1
- Show list of containers that use given image
- Show placeholder while loading containers and images
- Fix setting memory limit
* Wed Jul 31 2019 Martin Pitt <martin@piware.de> - 7-1
* Wed Jul 31 2019 Martin Pitt <martin@piware.de> - 7-1
- Fix AppStream ID
- Adjust tests to changed Cockpit Services page
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Jul 19 2019 Martin Pitt <martin@piware.de> - 6-1
- Fix various UI regressions from Cockpit's PatternFly 4 switch
- Add packit configuration (https://packit.dev/)
* Wed Jul 10 2019 Martin Pitt <martin@piware.de> - 5-1
* Wed Jul 10 2019 Martin Pitt <martin@piware.de> - 5-1
- Add container Terminal
* Wed Jun 26 2019 Katerina Koukiou <kkoukiou@redhat.com> - 4-1
* Wed Jun 26 2019 Katerina Koukiou <kkoukiou@redhat.com> - 4-1
- Fix regression in container commit
* Mon Jun 17 2019 Martin Pitt <martin@piware.de> - 3-1
* Mon Jun 17 2019 Martin Pitt <martin@piware.de> - 3-1
- Enable Commit button for running containers
- Fix race condition with container deletion
- Stop fetching all containers/images for each container/image event
* Fri May 24 2019 Cockpit Project <cockpituous@gmail.com> - 2-1
- Update to upstream 2 release

View File

@ -1,6 +1,14 @@
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
--- !Policy
product_versions:
- rhel-8
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

20
plans/upstream.fmf Normal file
View File

@ -0,0 +1,20 @@
discover:
how: fmf
dist-git-source: true
execute:
how: tmt
/system:
summary: Run tests on system podman
discover+:
test: /test/browser/system
/user:
summary: Run tests on user podman
discover+:
test: /test/browser/user
/misc:
summary: Run other tests
discover+:
test: /test/browser/other

3
tests/.gitignore vendored
View File

@ -1,3 +0,0 @@
*.retry
artifacts/
source/

View File

@ -1,66 +0,0 @@
#!/bin/sh
set -eux
# from standard-test-source
SOURCE="$(pwd)/source"
LOGS="$(pwd)/logs"
TESTS="$(pwd)/tests"
mkdir -p "$LOGS"
chmod a+w "$LOGS"
# install browser; on RHEL, use chromium from epel
# HACK: chromium-headless ought to be enough, but version 88 has a crash: https://bugs.chromium.org/p/chromium/issues/detail?id=1170634
if ! rpm -q chromium; then
if grep -q 'ID=.*rhel' /etc/os-release; then
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf config-manager --enable epel
fi
dnf install -y chromium
fi
# create user account for logging in
if ! id admin 2>/dev/null; then
useradd -c Administrator -G wheel admin
echo admin:foobar | chpasswd
fi
# set root's password
echo root:foobar | chpasswd
# avoid sudo lecture during tests
su -c 'echo foobar | sudo --stdin whoami' - admin
# create user account for running the test
if ! id runtest 2>/dev/null; then
useradd -c 'Test runner' runtest
# allow test to set up things on the machine
mkdir -p /root/.ssh
curl https://raw.githubusercontent.com/cockpit-project/bots/master/machine/identity.pub >> /root/.ssh/authorized_keys
chmod 600 /root/.ssh/authorized_keys
fi
chown -R runtest "$SOURCE"
# disable core dumps, we rather investigate them upstream where test VMs are accessible
echo core > /proc/sys/kernel/core_pattern
# grab a few images to play with; tests run offline, so they cannot download images
podman rmi --all
podman pull quay.io/libpod/busybox
podman pull quay.io/libpod/alpine
podman pull quay.io/cockpit/registry:2
# copy images for user podman tests; podman insists on user session
loginctl enable-linger $(id -u admin)
sudo -i -u admin podman rmi --all
for img in quay.io/libpod/busybox quay.io/libpod/alpine quay.io/cockpit/registry:2; do
podman save $img | sudo -i -u admin podman load
done
loginctl disable-linger $(id -u admin)
systemctl enable --now cockpit.socket podman.socket
# Run tests as unprivileged user
su - -c "env SOURCE=$SOURCE LOGS=$LOGS $TESTS/run-test.sh" runtest
RC=$(cat $LOGS/exitcode)
exit ${RC:-1}

View File

@ -1,30 +0,0 @@
---
- name: upgrade critical packages to the latest version
dnf:
name:
- podman
- conmon
state: latest
- include_role:
name: standard-test-source
- include_role:
name: standard-test-basic
vars:
required_packages:
- cockpit-podman
- cockpit-ws
- cockpit-system
- git
- libvirt-python3
- make
- npm
- python3
tests:
- cockpit-podman:
dir: "{{ test_script_dir | default('.') }}/source"
# directory changed after release 29: https://github.com/cockpit-project/cockpit-podman/pull/684
# drop this after packaging 30
run: "if [ -e test/browser/browser.sh ]; then test/browser/browser.sh; else plans/browser.sh; fi"
save-files: ["logs/*"]

View File

@ -1,31 +0,0 @@
#!/bin/sh
set -eux
# tests need cockpit's bots/ libraries and test infrastructure
cd $SOURCE
git init
make bots test/common
# only install a subset to save time/space
rm -f package-lock.json # otherwise the command below installs *everything*, argh
npm install chrome-remote-interface sizzle
. /etc/os-release
export TEST_OS="${ID}-${VERSION_ID/./-}"
# HACK: upstream does not yet know about rawhide
if [ "$TEST_OS" = "fedora-34" ]; then
export TEST_OS=fedora-33
fi
export TEST_AUDIT_NO_SELINUX=1
# FIXME: Internal Server Error: statfs /tmp/bin: no such file or directory
EXCLUDES="--exclude TestApplication.testRunImageUser"
RC=0
test/common/run-tests --nondestructive --machine 127.0.0.1:22 --browser 127.0.0.1:9090 $EXCLUDES || RC=$?
echo $RC > "$LOGS/exitcode"
cp --verbose Test* "$LOGS" || true
# deliver test result via exitcode file
exit 0

View File

@ -1,6 +0,0 @@
---
- hosts: localhost
tags:
- classic
roles:
- test