Commit graph

2858 commits

Author SHA1 Message Date
dependabot[bot]
8bb244b048 build(deps-dev): bump @redhat-cloud-services/tsc-transform-imports
Bumps @redhat-cloud-services/tsc-transform-imports from 1.0.21 to 1.0.23.

---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/tsc-transform-imports"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-14 08:40:25 +01:00
Klara Simickova
75770dc97f Revert "Wizard: Sticky footer returns"
This reverts commit e875f99f6b.
2025-02-13 17:02:29 +01:00
regexowl
e875f99f6b Wizard: Sticky footer returns
The original solution that broke some time ago works again. Removing the comments and temporary workaround.
2025-02-13 16:48:51 +01:00
regexowl
34720c799e src: Remove snapshots fallthrough logic
Snapshotting is available in prod-stable now. We can probably remove the fallthrough logic now.
2025-02-13 15:51:31 +01:00
regexowl
87d6c57174 Wizard: Fix nav status icon
Status icon rendered only when the step was previously visited, this caused problems with imported blueprints.

How to reproduce a bug:
1. import a blueprint with invalid hostname
2. skip to Review

Current behaviour:
- the Create blueprint button is disabled, but there is no indication of error next to the Hostname step in navigation

After fix:
- the error status should be rendered next to the Hostname nav item
2025-02-13 13:29:36 +01:00
dependabot[bot]
cbaf3ad99a build(deps): bump @sentry/webpack-plugin from 3.0.0 to 3.1.2
Bumps [@sentry/webpack-plugin](https://github.com/getsentry/sentry-javascript-bundler-plugins) from 3.0.0 to 3.1.2.
- [Release notes](https://github.com/getsentry/sentry-javascript-bundler-plugins/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript-bundler-plugins/compare/3.0.0...3.1.2)

---
updated-dependencies:
- dependency-name: "@sentry/webpack-plugin"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-13 11:56:44 +01:00
dependabot[bot]
e571233180 build(deps): bump @reduxjs/toolkit from 2.5.0 to 2.5.1
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](https://github.com/reduxjs/redux-toolkit/compare/v2.5.0...v2.5.1)

---
updated-dependencies:
- dependency-name: "@reduxjs/toolkit"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-13 09:00:20 +01:00
dependabot[bot]
1289d37ca2 build(deps-dev): bump @testing-library/react from 16.1.0 to 16.2.0
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 16.1.0 to 16.2.0.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v16.1.0...v16.2.0)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-12 17:11:30 +01:00
dependabot[bot]
21a3f38de3 build(deps): bump @redhat-cloud-services/frontend-components-notifications
Bumps [@redhat-cloud-services/frontend-components-notifications](https://github.com/RedHatInsights/frontend-components) from 4.1.16 to 4.1.17.
- [Release notes](https://github.com/RedHatInsights/frontend-components/releases)
- [Changelog](https://github.com/RedHatInsights/frontend-components/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RedHatInsights/frontend-components/compare/@redhat-cloud-services/frontend-components-notifications-4.1.16...@redhat-cloud-services/frontend-components-notifications-4.1.17)

---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components-notifications"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-12 16:45:15 +01:00
Sanne Raymaekers
d35eabb6c8 packit.yaml: release into fedora-42 2025-02-12 16:27:15 +01:00
regexowl
e4b531f311 dependabot: Return limit to 3 PRs at once
The issues are resolved, let's get back to just three open pull requests at one time.
2025-02-12 15:52:35 +01:00
dependabot[bot]
0bbb4261da build(deps-dev): bump stylelint from 16.13.2 to 16.14.1
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.13.2 to 16.14.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.13.2...16.14.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-12 14:13:52 +01:00
schutzbot
5cc680f709 Post release version bump
[skip ci]
2025-02-11 20:19:58 +00:00
Sanne Raymaekers
fd4fe79b41 CreateImageWizard/ImageOutput: hide description in cockpit
Lifecycle information isn't available yet, so let's just hide it.
2025-02-11 21:17:18 +01:00
Sanne Raymaekers
76f86c3711 CreateImageWizard: default to major releases on prem
In RHEL, VERSION_ID actually refers to the minor release. Let's strip
the minor component from it until we actually support those explicitly.
2025-02-11 21:17:18 +01:00
dependabot[bot]
3eda8e2dd1 build(deps): bump @redhat-cloud-services/frontend-components-utilities
Bumps [@redhat-cloud-services/frontend-components-utilities](https://github.com/RedHatInsights/frontend-components) from 4.0.19 to 5.0.11.
- [Release notes](https://github.com/RedHatInsights/frontend-components/releases)
- [Changelog](https://github.com/RedHatInsights/frontend-components/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RedHatInsights/frontend-components/commits/@redhat-cloud-services/frontend-components-utilities-5.0.11)

---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components-utilities"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-11 10:00:52 +01:00
dependabot[bot]
d80fed8234 build(deps): bump @redhat-cloud-services/frontend-components-notifications
Bumps [@redhat-cloud-services/frontend-components-notifications](https://github.com/RedHatInsights/frontend-components) from 4.1.1 to 4.1.16.
- [Release notes](https://github.com/RedHatInsights/frontend-components/releases)
- [Changelog](https://github.com/RedHatInsights/frontend-components/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RedHatInsights/frontend-components/compare/@redhat-cloud-services/frontend-components-notifications-4.1.1...@redhat-cloud-services/frontend-components-notifications-4.1.16)

---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components-notifications"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-11 09:13:55 +01:00
dependabot[bot]
58d6c14e25 build(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 8.21.0 to 8.24.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.24.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-11 08:52:46 +01:00
dependabot[bot]
853eaa6ed0 build(deps-dev): bump @babel/core from 7.26.0 to 7.26.8
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.26.0 to 7.26.8.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.26.8/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-11 08:37:54 +01:00
dependabot[bot]
c3183e8f0b build(deps-dev): bump @babel/preset-env from 7.26.0 to 7.26.8
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.26.0 to 7.26.8.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.26.8/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-10 11:57:28 +01:00
regexowl
fd6ab7166d dependabot: Increase limit of opened pull requests
This will temporarily increase limit of opened pull requests, until the frontend-components bumps get resolved.
2025-02-10 11:21:40 +01:00
regexowl
4ccf932c21 Wizard: Remove CodeBlocks for "None" as a value
Render "None" just as a plain text when there are no values to be shown in the review expandable.
2025-02-10 10:47:55 +01:00
regexowl
16b3d60db1 test: Services edit tests
This adds services tests for the edit mode.
2025-02-10 10:35:42 +01:00
regexowl
28253c040e vitests: Set global retry
This sets retry globally to `3`, so we don't have to add it to the tests individually.

For the tests that are reliable this shouldn't have any effect, but it will trigger on tests that proved to be a bit flakey (like revisit tests).
2025-02-10 10:02:54 +01:00
red-hat-konflux[bot]
16ae47e6e2 Update Konflux references
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-02-10 09:11:14 +01:00
regexowl
ac725f3ae1 Wizard: Gate kernel info behind feature flag
This gates the visibility of kernel information behind a flag on the OpenSCAP step.
2025-02-07 18:32:52 +02:00
regexowl
87a908af35 Wizard: Gate services on OpenSCAP step behind flag
This gates the visibility of services on the OpenSCAP step behing a flag.
2025-02-07 18:32:52 +02:00
schutzbot
d969646822 Post release version bump
[skip ci]
2025-02-07 14:21:56 +00:00
Sanne Raymaekers
5b6259854d cockpit/spec: correct minimum required composer version
Package search was only added recently.

 Requires:       cockpit
 Requires:       cockpit-files
-Requires:       osbuild-composer >= 103
+Requires:       osbuild-composer >= 131

 %description
 The image-builder-frontend generates custom images suitable for
2025-02-07 15:13:09 +01:00
Sanne Raymaekers
894868ce9c cockpit/spec: add obsoletes for cockpit-composer 2025-02-07 15:13:09 +01:00
Sanne Raymaekers
de0d295e8d .github/workflows/release: fix make dist step
The upstream release step cleans the checkout, so move it out.
2025-02-07 15:13:09 +01:00
schutzbot
a03a2595be Post release version bump
[skip ci]
2025-02-07 09:50:00 +00:00
regexowl
e74675ae7f devDeps: Manually bump vitest
This bumps vitest and @vitest/coverage-v8 from 2.0.5 to 3.0.5.
2025-02-07 10:35:18 +01:00
Sanne Raymaekers
0624f4a23d test/CreateImageWizard: test hostname step on cockpit 2025-02-07 09:30:03 +01:00
Sanne Raymaekers
9def3f61cb CreateImageWizard: enable locale step in cockpit 2025-02-07 09:30:03 +01:00
Sanne Raymaekers
d10620cc56 test/CreateImageWizard: add basic render for cockpit tests 2025-02-07 09:30:03 +01:00
Sanne Raymaekers
73afbc2b51 cockpit/spec: fix source url
Downstream the "v" got dropped from the version by #2831, but then the
source url is wrong. The path has got a "v" in it, and the artefact
doesn't.

The workflow already got fixed in #2860.
2025-02-06 17:58:03 +01:00
Michal Gold
a34251d0a7 Wizard: remove extendable section from Review step when there is no value
this removes extendable users from Review step when there is no user or kernel name
2025-02-06 17:02:00 +01:00
Sanne Raymaekers
4d9a1f294f .github/workflows/release: fix artefact name
After the upstream tag template changed, packit is now looking for the
artefact matching the template, so without the "v".
2025-02-06 16:26:30 +01:00
Michal Gold
7f54147a64 Wizard: change password to **** if there is value in pasword field
this changes password to **** if there is value in pasword field
2025-02-06 15:18:14 +01:00
regexowl
eeb70e38c3 Wizard: Add services to Review step
This adds systemd services expandable to the Review step.
2025-02-06 14:09:28 +01:00
regexowl
68d33130f7 src: Align to center
This ensures that both Landing page and Wizard are aligned to center within wide windows.
2025-02-06 13:30:23 +02:00
Sanne Raymaekers
2da55e20b2 .github/workflows: run cockpit unit tests in github workflows 2025-02-06 10:55:45 +01:00
Sanne Raymaekers
e46a575186 package.json: add script to run unit tests with cockpit 2025-02-06 10:55:45 +01:00
Sanne Raymaekers
a0a1fa223c test/ImagesTable: support basic render with cockpit 2025-02-06 10:55:45 +01:00
Sanne Raymaekers
dc98ca032f test/mocks: expand cockpit mocks
Use the data from the regular fixtures, but through cockpit APIs.

There are a few hacks to get around the fact that there are no composes
without blueprints, and the lack of paging support in the cockpit api.
2025-02-06 10:55:45 +01:00
Sanne Raymaekers
b2f56e26f2 test/testUtils: support rendering with cockpit 2025-02-06 10:55:45 +01:00
Sanne Raymaekers
e601a299be test/fixtures: add blueprint for cockpit
This blueprint is a hack, when the cockpit mocks encounter this
blueprint, the cockpit mocks will return all composes. This is to get
around the fact that in cockpit, there are no images without blueprints,
while that's possible in the service.
2025-02-06 10:55:45 +01:00
regexowl
5cc479115d requestMapper: Fix snapshot date parsing
Regex was wrong, would take "2025-01-01T00:00:00.000Z" even though it's a valid RFC 3339 date.
2025-02-06 09:31:49 +01:00
Sanne Raymaekers
874f6bdd5c store/cockpit: Add notifications for blueprints
Also just dump the entire `err` in the notification in case of
errors. The error we get from the custom query in cockpit is not at all
predictable.
2025-02-05 16:58:47 +01:00