Commit Graph

67 Commits

Author SHA1 Message Date
Cockpit Project
079905143b Update to 29-1
- PatternFly 4 updates for a more consistent UI
- Accessibility fixes
- Add FMF tests for sharing tests with up- and downstream
2021-02-19 17:14:15 +00:00
Martin Pitt
81ea60439b Install full chromium package
Revert the downgrade from commit
d313d525e8, and install the full chromium
package instead. This has a lot more dependencies, but is not affected
by the Ctrl+A keyDown crash.
2021-02-19 09:18:57 +01:00
Cockpit Project
804fc09c2e Update to 28.1-1
- Improve tests to be more robust against unstable Podman API
2021-02-11 13:02:38 +00:00
Martin Pitt
d4d188541f test: Add workaround for podman unit bug
See https://github.com/containers/podman/issues/8751

Same as hack in upstream:
https://github.com/cockpit-project/cockpit-podman/blob/7f27d6162/Makefile#L162
2021-02-08 15:56:44 +01:00
Matej Marusak
d313d525e8 test: Pull in older version on chromium 2021-02-08 13:09:08 +01:00
Matej Marusak
2d2a16ed94 test: Install cockpit-system
It used to be a dependency of cockpit-podman, but it is still needed on the
first host where cockpit is being accessed - which is the case how
gating is accessing cockpit.
2021-02-08 11:23:53 +01:00
Cockpit Project
d562144981 Update to 28-1
- Drop cockpit-system dependency
- Correctly show selected option for SELinux labels
2021-02-04 11:25:16 +00:00
Fedora Release Engineering
c08db90020 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 02:14:07 +00:00
Martin Pitt
25768f40dd tests: Fix browser.sh path detection to be less STI specific
Only set `$SOURCE` to ./source/ if that actually exists, which is when
it is being called through Standard Test Interface.

Provide fallbacks for using FMF [1] or when calling the script manually.

[1] https://github.com/cockpit-project/cockpit-podman/pull/649
2021-01-19 07:54:36 +01:00
Matej Marusak
f7239450eb test: Run tests less verbosely 2021-01-07 18:44:31 +01:00
Matej Marusak
094c75c4cb test: Rawhide is Fedora-33 for our tests 2021-01-07 17:56:35 +01:00
Cockpit Project
c7c2098522 Update to 27.1-1
- test: Drop forgotten sit() to make tests work in gating
2021-01-07 14:50:26 +00:00
Matej Marusak
94a9748f3f test: Set root password to 'foobar' in test Vm 2021-01-07 13:58:42 +01:00
Matej Marusak
a54f341f46 test: Sync up browser.sh with upstream tests 2021-01-07 12:11:10 +01:00
Cockpit Project
d1e85603ad Update to 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
2021-01-07 08:55:22 +00:00
Matej Marusak
20d5bb60c3 Merge #13 test: Cleanup images before pulling the ones we need 2021-01-07 08:35:07 +00:00
Tom Stellard
04f4a72c70 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-17 03:43:18 +00:00
Cockpit Project
3d8b034d68 Update to 26-1
- run: Make hostPort optional
- run: Enable setting up IP address for exposed ports
2020-12-09 14:59:58 +00:00
Matej Marusak
4cef1ffec0 test: Cleanup images before pulling the ones we need 2020-11-05 11:39:35 +01:00
Cockpit Project
5778509184 Update to 25-1
- Listen for image build event
2020-10-14 12:42:05 +00:00
Cockpit Project
aa25f11cc0 Update to 24-1
- Use sentence case in the UI
2020-09-30 10:56:28 +00:00
Matej Marusak
910e2a8af6 Run TestApplication.testRunImageSystem 2020-09-07 08:07:41 +00:00
Cockpit Project
61ad911bbb Update to 23-1
- Translation updates
2020-09-02 12:56:48 +00:00
Cockpit Project
8c0ec48d2a Update to 22-1
- Support for pod group deletion
2020-08-19 08:08:56 +00:00
Martin Pitt
53b04a1c8e test: Use run-tests
This provides automatic retries for flake resistance, proper TAP
output, and the `--exclude` option.
2020-08-06 15:27:06 +02:00
Martin Pitt
b00a013533 tests: Ensure that podman and conmon are at the latest version
The Fedora CI VMs often lag behind for a week. As podman and conmon get
daily updates, make sure we are testing against the latest version.
2020-08-06 11:20:41 +02:00
Martin Pitt
8253a95498 test: Avoid npm install downloading everything
In the presence of a package-lock.json, `npm install` apparently
downloads all packages even when giving explicit ones on the CLI. Avoid
that by removing package-lock.json before.
2020-08-06 10:50:51 +02:00
Cockpit Project
a7ecb6ec6e Update to 21-1
- Support for pod groups
- Support checkpoint and restore
- Registry selection in "download image" dialog
- Selected tag removal during deletion
2020-08-05 12:54:50 +00:00
Fedora Release Engineering
06ae78dde6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 14:14:06 +00:00
Cockpit Project
3e9f30df93 Update to 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
2020-07-22 12:49:17 +00:00
Martin Pitt
2957a067ee tests: Run more upstream integration tests
This requires a workaround for podman.service leaking processes on
shutdown: https://github.com/containers/podman/issues/7021

Some tests don't work in dist-git gating CI environment yet:
testNotRunning, testRunImageSystem, testRunImageUser

Also don't use run-tests yet, this requires
https://github.com/cockpit-project/cockpit-podman/pull/437
2020-07-20 07:38:18 +02:00
Martin Pitt
124190644b tests: Adjust to podman 2.0 API
Use the REST socket unit name.
2020-07-15 13:51:30 +02:00
Martin Pitt
a8bd80a41a tests.yml: Fix tags
"always" is not a thing in the current spec [1].

[1] https://docs.fedoraproject.org/en-US/ci/standard-test-interface/#_invocation
2020-07-15 13:51:30 +02:00
Cockpit Project
e5c5a920ee Update to 19-1
- Switch to the new Podman REST API
- Improve displaying on small screens
2020-07-15 09:54:54 +00:00
Cockpit Project
59204fdf25 Update to 18-1
- Bump NPM dependencies to their latest versions
- Stop importing cockpit's deprecated base1/patternfly.css
- Synchronize style with the newest Cockpit
2020-06-15 08:39:47 +00:00
Martin Pitt
2f8be1898a Move the test into a role
So that it can be called from the container-tools module without
duplication. For technical reasons this requires calling the test entry
script from a different directory, so parameterize it.

Rename the test from "browser" to "cockpit-podman" so that it is
more descriptive within a module test.

Drop the TEST_OS hack, tests of current version recognizes RHEL 8.3 just
fine (and in fact depends on it).

Related: rhbz#1821193
2020-05-19 12:49:41 +02:00
Martin Pitt
0d5eac1292 tests: Set up root ssh access
The test needs to be able to `ssh root@localhost` to run commands on the
machine directly, it doesn't just run commands through cockpit.
2020-05-18 13:58:14 +02:00
Martin Pitt
3d9d9a56f4 tests: Fix RHEL check 2020-05-15 08:25:32 +02:00
Cockpit Project
4c639d46fc Update to 17-1
- Translation updates
- Adjust tests to changed Services page in Cockpit 218
2020-05-14 07:28:07 +00:00
Martin Pitt
fcd76b8d7a gating.yaml: Drop Taskotron tests
They are no more :-(
https://kparal.wordpress.com/2020/04/30/taskotron-is-eol-end-of-life-today/
2020-05-07 17:36:58 +02:00
Martin Pitt
1c1e61ff13 gating.yml: Generalize product_versions
See https://docs.fedoraproject.org/en-US/ci/gating/
2020-04-29 12:44:08 +02:00
Cockpit Project
eac67a5f32 Update to 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
2020-04-29 08:40:46 +00:00
Martin Pitt
1d5f8f120c tests: Run as unprivileged user
Approach taken from cockpit:
https://src.fedoraproject.org/rpms/cockpit/c/6d1be3eb74
2020-04-29 07:49:57 +02:00
Martin Pitt
d6da8e6a37 tests: Fix for running in RHEL
* Generalize setting of $TEST_OS
 * chromium-headless is not in RHEL 8, install it from EPEL.
2020-04-28 10:40:37 +02:00
Martin Pitt
3414c0646e Bump version number in changelog again, to pacify rpmgrill 2020-04-16 14:47:38 +02:00
Martin Pitt
2a34349df9 Rebuild for fixed gating.yml 2020-04-16 14:38:26 +02:00
Martin Pitt
8587806fd0 gating.yaml: Drop nonexisting test 2020-04-16 14:12:13 +02:00
Cockpit Project
5b0e0396c1 Update to 15-1
- Drop obsolete functionality for Fedora Atomic
- Localize dates and times
- Make tests non-destructive, to support Fedora gating
2020-04-16 08:46:27 +00:00
Martin Pitt
a2a977193b Enable gating tests
Add a gating.yaml to make sure that newer cockpit-podman versions don't
enter stable when they cause regressions in various static RPM checks or
our CI tests.

See https://docs.pagure.org/greenwave/policies.html
2020-04-15 23:34:48 +02:00
Martin Pitt
70257534e1 Add initial upstream integration test
Re-use the test skeleton from cockpit. Just run a single integration
test for now, until we make them properly @nondestructive upstream [1].

Run chromium and the test directly on the test bed. For cockpit-podman
tests it's not practical to run them in a cockpit/tasks podman
container, as that container interferes too much with the tests.

[1] https://github.com/cockpit-project/cockpit-podman/pull/356
2020-04-15 22:20:39 +02:00