Commit graph

669 commits

Author SHA1 Message Date
Martin Pitt
b0368f13d7 workflows: Run tasks-container-update.yml in quay.io/cockpit/tasks
The quay.io location is obsolete, the image moved to GitHub registry.
2024-04-02 17:37:18 +02:00
Cockpit Project
ef66b4c697 Makefile: Update Cockpit lib to f2cc9e1a360e69dc55b8f9f26f367eb4
Closes #827
2024-03-28 09:51:14 +01:00
dependabot[bot]
488ffa6637 build(deps-dev): bump the stylelint group with 1 update
Bumps the stylelint group with 1 update: [stylelint](https://github.com/stylelint/stylelint).


Updates `stylelint` from 16.3.0 to 16.3.1
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.3.0...16.3.1)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: stylelint
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-27 05:52:03 +01:00
Martin Pitt
bd082383cf workflows: Move tasks-container-update to Sunday night
We previously ran tasks-container-update and cockpit-lib-update at the
same time, which sometimes collides. Move it to the night between Sunday
and Monday instead, so that we have the updates ready for us to inspect
when we start our week.
2024-03-26 10:50:06 +01:00
dependabot[bot]
f41cd54999 build(deps-dev): bump the stylelint group with 1 update
Bumps the stylelint group with 1 update: [stylelint](https://github.com/stylelint/stylelint).


Updates `stylelint` from 16.2.1 to 16.3.0
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.2.1...16.3.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: stylelint
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-26 06:04:45 +01:00
Miika Alikirri
4218c056ad spec: Support SUSE specic BuildRequires 2024-03-22 21:00:35 +01:00
Cockpit Project
6cb34f6fe3 .cockpit-ci: Update CI container to :2024-03-18
Closes #820
2024-03-22 09:45:54 +01:00
Cockpit Project
fed47aff89 Makefile: Update Cockpit lib to 5ff98a2117e2815f7560e31d67bb1be6
Closes #819
2024-03-21 06:24:37 +01:00
Jelle van der Waa
3c734e03ac workflows: add tasks-container-update workflow
This workflow tries to update our cockpit CI container on a weekly
interval.
2024-03-19 11:02:45 +01:00
dependabot[bot]
bd2bc6a911 build(deps): bump the patternfly group with 1 update
Bumps the patternfly group with 1 update: [@patternfly/react-core](https://github.com/patternfly/patternfly-react).


Updates `@patternfly/react-core` from 5.2.2 to 5.2.3
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@5.2.2...@patternfly/react-core@5.2.3)

---
updated-dependencies:
- dependency-name: "@patternfly/react-core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patternfly
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 06:39:13 +01:00
Allison Karlitskaya
58df999d82 misc: move to new tasks container location 2024-03-18 11:56:00 +01:00
Martin Pitt
ee5e9bd243 fmf: Use correct os-release
With commit 2e8b932e, run-test.sh now runs inside the cockpit/tasks
container, and its os-release is irrelevant. Read the host's os-release
instead to compute a correct `$TEST_OS`.
2024-03-18 08:50:36 +01:00
Martin Pitt
7b1315a3ca test: More precise firewall configuration
Only enable cockpit in the firewall if it is actually running, not
merely installed.
2024-03-18 08:50:36 +01:00
Martin Pitt
84608a1680 fmf: Go back to running the tests with Firefox
That brings back Firefox coverage, and also avoids OOM errors with
Chromium. This was already applied to our other projects.
2024-03-18 08:50:36 +01:00
dependabot[bot]
bef2163e9b build(deps-dev): bump the eslint group with 1 update
Bumps the eslint group with 1 update: [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react).


Updates `eslint-plugin-react` from 7.34.0 to 7.34.1
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/v7.34.1/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.0...v7.34.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: eslint
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-16 08:48:41 +01:00
Allison Karlitskaya
2e8b932ece test/browser: run tests inside the tasks container
This simplifies the "outside" setup quite a bit and gives us the same
tasks container that test runs on the Cockpit CI run under.

This change also implicitly changes the test browser to chromium (which
is no longer an issue — we just use it from the tasks container).
2024-03-15 15:22:56 +01:00
Allison Karlitskaya
e112794936 .cockpit-ci: pin tasks container version 2024-03-15 15:22:56 +01:00
dependabot[bot]
a05671f903 build(deps-dev): bump the esbuild group with 2 updates
Bumps the esbuild group with 2 updates: [esbuild](https://github.com/evanw/esbuild) and [esbuild-wasm](https://github.com/evanw/esbuild).


Updates `esbuild` from 0.20.1 to 0.20.2
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.20.1...v0.20.2)

Updates `esbuild-wasm` from 0.20.1 to 0.20.2
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.20.1...v0.20.2)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: esbuild
- dependency-name: esbuild-wasm
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: esbuild
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-15 05:39:55 +01:00
Cockpit Project
8ce48d52c9 Makefile: Update Cockpit lib to 4f224656598382176c010352bdb28911
Closes #811
2024-03-14 06:14:35 +01:00
dependabot[bot]
c7c00f7211 build(deps-dev): bump sass from 1.71.1 to 1.72.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.71.1 to 1.72.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.71.1...1.72.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-14 06:10:23 +01:00
dependabot[bot]
e69dcaa75f build(deps-dev): bump the esbuild group with 1 update
Bumps the esbuild group with 1 update: [esbuild-sass-plugin](https://github.com/glromeo/esbuild-sass-plugin).


Updates `esbuild-sass-plugin` from 3.1.0 to 3.2.0
- [Release notes](https://github.com/glromeo/esbuild-sass-plugin/releases)
- [Commits](https://github.com/glromeo/esbuild-sass-plugin/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: esbuild-sass-plugin
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: esbuild
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-13 23:24:00 +01:00
Martin Pitt
a6ef3a1643 lint: Ignore test functions in vulture
These aren't unused, but discovered/enumerated by `unittest` or
`pytest`.
2024-03-13 07:58:19 +01:00
dependabot[bot]
8299216e27 build(deps): bump the patternfly group with 1 update
Bumps the patternfly group with 1 update: [@patternfly/react-core](https://github.com/patternfly/patternfly-react).


Updates `@patternfly/react-core` from 5.2.1 to 5.2.2
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@5.2.1...@patternfly/react-core@5.2.2)

---
updated-dependencies:
- dependency-name: "@patternfly/react-core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patternfly
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-13 07:58:19 +01:00
Martin Pitt
d21beed19c README.md: npm-update → dependabot 2024-03-08 14:58:52 +01:00
Cockpit Project
8607984b41 Makefile: Update Cockpit lib to 50fc1b962eeefefc9926ece8e4891477
Closes #806
2024-03-07 05:54:47 +01:00
dependabot[bot]
4cf8165a98 build(deps-dev): bump the eslint group with 1 update
Bumps the eslint group with 1 update: [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react).


Updates `eslint-plugin-react` from 7.33.2 to 7.34.0
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.33.2...v7.34.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: eslint
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-05 04:41:42 +01:00
dependabot[bot]
70fe05f53f build(deps): bump the patternfly group with 4 updates
Bumps the patternfly group with 4 updates: [@patternfly/patternfly](https://github.com/patternfly/patternfly), [@patternfly/react-core](https://github.com/patternfly/patternfly-react), [@patternfly/react-icons](https://github.com/patternfly/patternfly-react) and @patternfly/react-styles.


Updates `@patternfly/patternfly` from 5.2.0 to 5.2.1
- [Release notes](https://github.com/patternfly/patternfly/releases)
- [Changelog](https://github.com/patternfly/patternfly/blob/main/release.config.js)
- [Commits](https://github.com/patternfly/patternfly/compare/v5.2.0...patch-v5.2.1)

Updates `@patternfly/react-core` from 5.2.0 to 5.2.1
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@5.2.0...@patternfly/react-core@5.2.1)

Updates `@patternfly/react-icons` from 5.2.0 to 5.2.1
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-icons@5.2.0...@patternfly/react-icons@5.2.1)

Updates `@patternfly/react-styles` from 5.2.0 to 5.2.1

---
updated-dependencies:
- dependency-name: "@patternfly/patternfly"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patternfly
- dependency-name: "@patternfly/react-core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patternfly
- dependency-name: "@patternfly/react-icons"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patternfly
- dependency-name: "@patternfly/react-styles"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patternfly
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-02 06:37:34 +01:00
Cockpit Project
4cdfc7396f Makefile: Update Cockpit lib to a39755f742308052110e4c0de3732338
Closes #803
2024-02-29 06:43:45 +01:00
Martin Pitt
0009f07a2c workflows: Bump action-release to get github-script@v7
This gets rid of the obsolete node.js 16. See
7d2e265738
2024-02-27 11:14:46 +01:00
dependabot[bot]
e4d9c4d647 build(deps-dev): bump the eslint group with 1 update
Bumps the eslint group with 1 update: [eslint](https://github.com/eslint/eslint).


Updates `eslint` from 8.56.0 to 8.57.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.56.0...v8.57.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: eslint
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-24 00:11:12 +01:00
dependabot[bot]
531000589e build(deps-dev): bump the esbuild group with 3 updates
Bumps the esbuild group with 3 updates: [esbuild](https://github.com/evanw/esbuild), [esbuild-sass-plugin](https://github.com/glromeo/esbuild-sass-plugin) and [esbuild-wasm](https://github.com/evanw/esbuild).


Updates `esbuild` from 0.19.12 to 0.20.1
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.19.12...v0.20.1)

Updates `esbuild-sass-plugin` from 2.16.1 to 3.1.0
- [Release notes](https://github.com/glromeo/esbuild-sass-plugin/releases)
- [Commits](https://github.com/glromeo/esbuild-sass-plugin/compare/v2.16.1...v3.1.0)

Updates `esbuild-wasm` from 0.19.12 to 0.20.1
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.19.12...v0.20.1)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: esbuild
- dependency-name: esbuild-sass-plugin
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: esbuild
- dependency-name: esbuild-wasm
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: esbuild
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-23 07:07:03 +01:00
Cockpit Project
159979ac04 Makefile: Update Cockpit lib to d8c2edc8a2e611f4b65285434bad0f08
Closes #799
2024-02-22 09:12:49 +01:00
dependabot[bot]
1f061ae26c build(deps-dev): bump sass from 1.71.0 to 1.71.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.71.0 to 1.71.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.71.0...1.71.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-21 23:37:48 +01:00
Martin Pitt
6e1427493a workflows: Switch release to cockpit/tasks container
The unit-tests container was dropped in
f16f1fc14b

Also switch the template to current actions/checkout version.
2024-02-20 13:32:19 +01:00
dependabot[bot]
d0178514d5 build(deps-dev): bump sass from 1.70.0 to 1.71.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.70.0 to 1.71.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.70.0...1.71.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-17 06:44:58 +01:00
dependabot[bot]
34419c0520 build(deps-dev): bump qunit from 2.20.0 to 2.20.1
Bumps [qunit](https://github.com/qunitjs/qunit) from 2.20.0 to 2.20.1.
- [Release notes](https://github.com/qunitjs/qunit/releases)
- [Changelog](https://github.com/qunitjs/qunit/blob/main/History.md)
- [Commits](https://github.com/qunitjs/qunit/compare/2.20.0...2.20.1)

---
updated-dependencies:
- dependency-name: qunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-17 06:38:25 +01:00
Cockpit Project
2ac690907b Makefile: Update Cockpit lib to 2aebbbf2cc0302f21287bd278f5a3161
Closes #793
2024-02-15 09:44:42 +01:00
dependabot[bot]
a27c372d94 build(deps-dev): bump gettext-parser from 7.0.1 to 8.0.0
Bumps [gettext-parser](https://github.com/smhg/gettext-parser) from 7.0.1 to 8.0.0.
- [Release notes](https://github.com/smhg/gettext-parser/releases)
- [Changelog](https://github.com/smhg/gettext-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smhg/gettext-parser/compare/v7.0.1...v8.0.0)

---
updated-dependencies:
- dependency-name: gettext-parser
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-10 08:03:42 +01:00
Jelle van der Waa
5966bc24be .github: don't run integration tests on actions changes 2024-02-09 09:23:59 +01:00
dependabot[bot]
93ba03c847 build(deps-dev): bump the stylelint group with 4 updates
Bumps the stylelint group with 4 updates: [stylelint](https://github.com/stylelint/stylelint), [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard), [stylelint-config-standard-scss](https://github.com/stylelint-scss/stylelint-config-standard-scss) and [stylelint-formatter-pretty](https://github.com/mrcgrtz/stylelint-formatter-pretty).


Updates `stylelint` from 15.11.0 to 16.2.1
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/15.11.0...16.2.1)

Updates `stylelint-config-standard` from 34.0.0 to 36.0.0
- [Release notes](https://github.com/stylelint/stylelint-config-standard/releases)
- [Changelog](https://github.com/stylelint/stylelint-config-standard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint-config-standard/compare/34.0.0...36.0.0)

Updates `stylelint-config-standard-scss` from 11.1.0 to 13.0.0
- [Release notes](https://github.com/stylelint-scss/stylelint-config-standard-scss/releases)
- [Changelog](https://github.com/stylelint-scss/stylelint-config-standard-scss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint-scss/stylelint-config-standard-scss/compare/v11.1.0...v13.0.0)

Updates `stylelint-formatter-pretty` from 3.2.1 to 4.0.0
- [Release notes](https://github.com/mrcgrtz/stylelint-formatter-pretty/releases)
- [Commits](https://github.com/mrcgrtz/stylelint-formatter-pretty/compare/v3.2.1...v4.0.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: stylelint
- dependency-name: stylelint-config-standard
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: stylelint
- dependency-name: stylelint-config-standard-scss
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: stylelint
- dependency-name: stylelint-formatter-pretty
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: stylelint
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 09:10:31 +01:00
Martin Pitt
09c6e956ac stylelintrc: Drop rules not known in stylelint 16 2024-02-08 09:10:31 +01:00
Martin Pitt
a0f5432f4e Drop remaining vestiges of $LINT
This got removed in commit 15be883595.
2024-02-08 09:10:31 +01:00
Cockpit Project
8bdaa90430 Makefile: Update Cockpit lib to d2a0a971cde5af5353691ee030620be0
Closes #789
2024-02-08 04:54:23 +01:00
Martin Pitt
cb6a2b84ca fmf: Fix saving of artifacts
These need to be copied into `$TMT_TEST_DATA`. We already did this in
derived projects like cockpit-podman, but forgot it here.
2024-02-07 20:27:15 +01:00
Martin Pitt
15be883595 Move eslint/stylelint to static-code tests
stylelint 16 causes a deadlock/crash in esbuild [1]. There's no movement
on that issue, and we want stylelint 16 to be able to support the
Browser Baseline 2023.

Follow 1a28b31828 and
move the linters into test/static-code. This also starts to lint files
which are outside of esbuild's realm, such as documentation and
examples.

[1] https://github.com/evanw/esbuild/issues/3542
2024-02-07 20:27:15 +01:00
dependabot[bot]
8256d6f18f build(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-07 19:09:43 +01:00
Jelle van der Waa
bf4889042a github: allow dependeabot to update github workflow actions
Github usually updates their actions once a while and then warns about a
node env getting deprecated in runs. Which is not super easily spotted
by a developer until it's too late, so let's like npm let dependabot
handle updating.
2024-02-07 19:00:16 +01:00
Martin Pitt
5d2840449a Use Cockpit's shared static code checks
These will soon take over ESLint and stylelint, plus they also cover
ruff and other goodies for the Python part. This supersedes the explicit
ruff call.

This is already being used by cockpit-{podman,machines,navigator} etc.
2024-02-07 17:57:56 +01:00
Martin Pitt
ad0a653f82 build.js: Fix escape characters
Spotted by ESLint when calling it on build.js itself (which the esbuild
integration didn't).
2024-02-07 17:57:56 +01:00
Martin Pitt
39014f29e8 flake8: Add config
Use our standard "max line length 118" config from other projects.
2024-02-07 17:57:56 +01:00