Commit graph

513 commits

Author SHA1 Message Date
Cockpit Project
092cefab3b package.json: Update @patternfly/patternfly, @patternfly/react-core, @patternfly/react-icons, @patternfly/react-styles
Bump Cockpit commit to pick up the necessary adjustments for latest PF,
and adjust test for the new "-v5" namespace prefix.

Closes #654
2023-05-22 09:58:44 +02:00
Justin Stephenson
e3a8c9d17c
workflows: Pacify git's permission check in release workflow
"fatal: detected dubious ownership in repository at..."
2023-05-19 18:18:24 +02:00
Cockpit Project
26e4c3e5dd Makefile: Update Cockpit lib to 355c0aa59e3991243e10a61183e62ea1
Closes #653
2023-05-18 22:07:20 +02:00
Cockpit Project
fbc0a542f7 Makefile: Update Cockpit lib to 68980cd34568a52bc0e2000d79ff0dd8
Closes #651
2023-05-17 05:59:35 +02:00
Cockpit Project
b3e97c711c Makefile: Update Cockpit lib to da5abbb4245b0455cc8b610efe01e684
Closes #649
2023-05-11 06:42:00 +02:00
Martin Pitt
a47c641af9 package.json: Pin down versions of @patternfly/react-{styles,icons}
These are already installed as dependencies, and we do the same in other
Cockpit projects. The latest react-styles version became incompatible
with the react-core version, causing a build failure.
2023-05-10 14:22:24 +03:00
Cockpit Project
b2bdaac5b2 Makefile: Update Cockpit lib to 947f1753867e3924b9617aaace936225
Update to PF5 and the new cockpit lib API.

Closes #646
2023-05-04 15:24:01 +02:00
Martin Pitt
6ab10901a4 Makefile: Fix watch dependencies
Unbreak `make watch` from a clean tree by ensuring that node_modules/
and pkg/lib exist.
2023-05-04 15:24:01 +02:00
Cockpit Project
4bc3de6d5d Makefile: Update Cockpit lib to 269bf89276c679a03befc8a04244addd
Closes #645
2023-04-27 05:02:43 +02:00
Martin Pitt
b60dd6f945 workflows: Explicitly set minimal token permissions
This will allow us to set the default token permissions to restricted,
and thus avoid accidentally introducing over-privileged new workflows.
2023-04-20 11:05:15 +02:00
Martin Pitt
3bc60dd9bb workflows: Run on ubuntu-latest
That is Ubuntu 22.04 now. Avoid letting this get out of date.

Taken from eb2b320c95
2023-04-20 11:05:15 +02:00
Laura Barcziová
d44181a110 Add missing build job(s) to Packit config
Packit will now additionally require for each test job requiring build
a build job definition to be present in the Packit configuration file. See details
in https://github.com/packit/packit-service/issues/1775.
2023-04-19 17:45:11 +02:00
Martin Pitt
c499257ec8 packit: Move to nodejs-npm SRPM dependency
`npm` recently became broken in Fedora and doesn't provide the `npm`
binary any more. As a workaround, move to `nodejs-npm` to fix the srpm
build.
2023-04-18 13:12:57 +02:00
Jelle van der Waa
a68429fad0 .github: add Cockpit library update action
This action works similar to the npm-update workflow, it creates a PR
every Thursday (usually after the Cockpit release) to update the
COCKPIT_REPO_COMMIT to the latest version.
2023-04-17 18:00:26 +02:00
Jelle van der Waa
02771f6e37 .github: update checkout action to v3 2023-04-17 16:14:49 +02:00
Subho
1c30b49d3d
Move from webpack to esbuild bundler 2023-04-12 10:23:20 +02:00
Cockpit Project
0aaccb9ea1 package.json: Update @patternfly/react-core
Closes #635
2023-04-10 11:05:03 +02:00
Martin Pitt
8817969d16 packaging: Declare bundled NPM dependencies in spec file
See https://bugzilla.redhat.com/show_bug.cgi?id=2180520

Turn the pattern make rule into an explicit one, as pattern rules don't
support dependencies. We only need it for our single spec file anyway.
2023-04-05 10:17:28 +02:00
Martin Pitt
aeb81718e7 packit: Enable tests on aarch64 2023-03-28 11:48:13 +02:00
Martin Pitt
75b3170765 Bump Cockpit API to 288.1 + esbuild plugin updates
Preparation for moving to esbuild.
2023-03-28 10:25:54 +02:00
Martin Pitt
a8faf6a43a fmf: Drop obsolete standard-test-source support
All of Fedora's and RHEL's CI works on FMF these days.
2023-03-28 10:25:54 +02:00
Martin Pitt
0203b962c9 Revert "spec: use nodejs-devel on Fedora"
This reverts commit b47bb4714a.

For the last couple of weeks, nodejs-devel has been uninstallable in
COPR, as it has a different major version than nodejs. This was only
introduced as a formality, not because we actually need it.
2023-03-28 10:25:54 +02:00
Allison Karlitskaya
e32368e56a build: use pip wheel to get cockpit wheel
Now that we have pip in the tasks container, this is a lot easier, and
it will allow us to drop the make-wheel script from the cockpit project.
2023-03-20 11:08:02 +01:00
Jelle van der Waa
b54f4aa607 package.json: update chrome-remote-interface for chromium 111 2023-03-14 11:55:14 +01:00
Martin Pitt
5fa7ae7f9c Run npm install with --ignore-scripts
https://github.com/cockpit-project/bots/blob/main/npm does that as well.
We don't expect/depend on scripts, and this closes at least one major
attack vector of `npm install` against developer machines.
2023-03-14 09:47:29 +01:00
Jelle van der Waa
58c60f1736 README: document development dependencies for Fedora/Ubuntu
Document what is required to get a test VM build done, for some new
contributors the gettext dependency is not obvious to resolve.
2023-03-08 17:36:10 +01:00
Cockpit Project
9f01b67b2e package.json: Update @patternfly/patternfly, @patternfly/react-core
Closes #627
2023-03-06 05:31:26 +01:00
Katerina Koukiou
d2e6145ae1 Use whole path in patternfly imports
Otherwise we rely on treeshaking mechanisms to remove unused code, thus
making our bundle size more vulnerable to bundler's ability to drop dead
code.
2023-02-23 16:36:08 +01:00
Martin Pitt
cd6b2afc15 Generalize bundler language/variable names
These changes are not specific to webpack, but apply to other bundlers
as well.
2023-02-20 10:01:02 +01:00
Martin Pitt
4990d6a103 build: Move to a webpack module
Cockpit recently changed to an ESM build system [1]. Bump
COCKPIT_REPO_COMMIT to that and follow suit.

This does not work with old node.js 10 any more which is still the
default in RHEL 8. Install the newer version 16 instead.

[1] https://github.com/cockpit-project/cockpit/pull/18366
2023-02-20 10:01:02 +01:00
Jelle van der Waa
1f4e0fac24 Makefile: bump REPO_COMMIT to include RSYNC_DEVEL support 2023-02-14 15:37:39 +01:00
Jelle van der Waa
b5267a376f README: document RSYNC_DEVEL env variable 2023-02-14 15:37:39 +01:00
shawly
681366e990 Add dark-theme-support
Fixes #610
2023-02-13 07:45:49 +01:00
Jelle van der Waa
3cb5cb96de .github: update release action workflow
Our latest action-release workflow no longer uses a deprecated
github-script version.
2023-02-08 14:31:22 +01:00
Allison Karlitskaya
03d02f398a build: add support for /pybridge scenario
Build the Python bridge from the cockpit project and install it into the
VM so we can run tests against it.
2023-02-01 17:40:48 +01:00
Cockpit Project
030d64ba48 package.json: Update @patternfly/react-core
Closes #620
2023-01-30 07:00:06 +01:00
Cockpit Project
dff02e793f package.json: Update @patternfly/patternfly, @patternfly/react-core
Closes #619
2023-01-23 06:13:35 +01:00
Cockpit Project
1161977341 package.json: Update @patternfly/patternfly, @patternfly/react-core
Closes #618
2023-01-16 08:22:14 +01:00
Cockpit Project
7e3cef6686 package.json: Update @patternfly/react-core
Closes #617
2023-01-09 06:35:10 +01:00
Cockpit Project
c1e3e22790 package.json: Update @patternfly/react-core
Closes #616
2022-12-26 08:43:21 +01:00
Cockpit Project
753b877dd8 package.json: Update @patternfly/react-core
Closes #615
2022-12-19 06:05:31 +01:00
Cockpit Project
e4068d0f8d package.json: Update @patternfly/patternfly, @patternfly/react-core
Closes #614
2022-12-12 07:46:54 +01:00
Cockpit Project
7e22c859fd package.json: Update @patternfly/patternfly, @patternfly/react-core
Closes #613
2022-12-05 07:30:32 +01:00
Cockpit Project
e770d6b442 package.json: Update @patternfly/patternfly
Closes #612
2022-11-28 06:31:04 +01:00
Cockpit Project
75a89373ba package.json: Update @patternfly/patternfly, @patternfly/react-core
Closes #611
2022-11-21 06:37:53 +01:00
Cockpit Project
312cd70994 package.json: Update @patternfly/patternfly, @patternfly/react-core
Closes #609
2022-11-14 08:57:56 +01:00
Cockpit Project
cba96f4f64 package.json: Update @patternfly/react-core
Closes #608
2022-11-07 07:28:06 +01:00
Martin Pitt
284cb7dad0 cirrus: Move to Fedora 37
There is no Fedora 35 image any more.
2022-10-31 11:25:49 +01:00
Cockpit Project
ddf9eb312c package.json: Update @patternfly/patternfly, @patternfly/react-core
Closes #606
2022-10-31 06:17:27 +01:00
Martin Pitt
57d7c73d6e Install into /usr/local/ by default
/usr is package manager territory, and not even writable on OSTree based
systems such as Fedora CoreOS or RHEL Edge. This has been common and
good practice in autotools for decades.

You can still override this with `make install PREFIX=...`. Use that in
the RPM spec file.
2022-09-14 09:53:10 +02:00