Commit graph

2920 commits

Author SHA1 Message Date
Sanne Raymaekers
db144b8ffc codebuild: add required buildspec
The build phase will be overwritten by the playwright github action.
2025-03-11 13:30:14 +01:00
Sanne Raymaekers
a6ca98ee30 .github/workflows/playwright: add action for tests against stage
Adds an action which runs the playwright tests against the local stage
development setup.
2025-03-11 13:30:14 +01:00
regexowl
978a37f54a devDeps: Bump typescript deps
This bumps:
- @typescript-eslint/parser from 8.25.0 to 8.26.0
- typescript from 5.7.3 to 5.8.2
2025-03-07 13:52:19 +01:00
dependabot[bot]
c2e3b75311 build(deps): bump @reduxjs/toolkit from 2.5.1 to 2.6.0
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](https://github.com/reduxjs/redux-toolkit/compare/v2.5.1...v2.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-07 13:05:26 +01:00
dependabot[bot]
bb100f814b build(deps-dev): bump copy-webpack-plugin from 12.0.2 to 13.0.0
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) from 12.0.2 to 13.0.0.
- [Release notes](https://github.com/webpack-contrib/copy-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/copy-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/copy-webpack-plugin/compare/v12.0.2...v13.0.0)

---
updated-dependencies:
- dependency-name: copy-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-06 15:32:41 +01:00
Adam Kankovsky
526037ea08 test: Add test for unselecting selected package
Adding a test to verify that the last package removed from selected remains in the table until switching to another screen.
2025-03-06 14:47:31 +01:00
Adam Kankovsky
7aa3a3a6d5 Wizard: Edit to keep the last removed package among the selected ones
Modify the logic of removing a package so that it remains in the selected table for possible
re-addition until another package is removed or the wizard is switched to another screen
2025-03-06 14:47:31 +01:00
Sanne Raymaekers
b91981c17c store/cockpitApi: correct getBlueprint's cache tags
After editing a blueprint, the blueprint needs to be invalidated.
2025-03-06 13:12:33 +01:00
Sanne Raymaekers
c0187f7b76 schutzbot/terraform: updated runners
Includes the nightly images which have the playwright container baked
in.
2025-03-06 13:12:33 +01:00
Sanne Raymaekers
2c827e2816 schutzbot: fix uploading artifacts
Fixes mistake in copying over from osbuild-composer. And upload the
artifacts recursively.
2025-03-06 13:12:33 +01:00
Sanne Raymaekers
dd80a1757c schutzbot: fix updating github status
Fixes mistake in copying over from osbuild-composer.
2025-03-06 13:12:33 +01:00
Sanne Raymaekers
f5901a96ee schutzbot: save journal as artifact 2025-03-06 13:12:33 +01:00
Sanne Raymaekers
b8a4b26013 schutzbots: fix rpm install
`nodejs-npm` is only present on el10.
2025-03-06 13:12:33 +01:00
Sanne Raymaekers
70686388b7 .gitlab-ci.yml: fix runner matrix 2025-03-06 13:12:33 +01:00
schutzbot
6ef29afac3 Post release version bump
[skip ci]
2025-03-06 13:12:33 +01:00
regexowl
9fdd6f0b43 Wizard: Add validation to Timezone select
This adds the timezones to the step validation and renders an error when an invalid timezone is imported.

How to test:
1. import a blueprint with invalid timezone "foo"
2. select a target
3. go to Registration step
4. click on "Review and finish" button

Current behaviour:
- the "Create" button is disabled, but when navigating to Timezone step no error is displayed

After update:
- there is an error rendered under the timezone select
2025-03-06 08:46:36 +01:00
Michal Gold
49fa0ee735 Wizard: Refactor HookValidatedInput component
This commit splits the HookValidatedInput component into three separate functions to improve modularity and readability:

- `getValidationState`: Calculates the validation state ('default', 'success', 'error') based on whether the input is pristine and if there is an error message.
- `ValidatedInputAndTextArea`: Renders the TextInput or TextArea component, utilizing the `getValidationState` output.
- `ErrorMessage`: Displays validation error messages.

This refactoring enhances code maintainability and testability, and the updated structure is now implemented for the username field.
2025-03-05 16:07:36 -06:00
regexowl
ba233f2c69 Wizard: Rename ChippingInput to LabelInput
This just renames `ChippingInput` component to `LabelInput` and updates all imports.
2025-03-05 14:00:09 -06:00
schutzbot
5f3a3744c5 Post release version bump
[skip ci]
2025-03-05 08:31:42 +00:00
dependabot[bot]
c3d9df9c12 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.24.1 to 8.26.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.26.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-03-05 09:13:33 +01:00
regexowl
44752426f6 deps: Bump @redhat-cloud-services/frontend-components from 4.2.22 to 5.2.6
This bumps @redhat-cloud-services/frontend-components from 4.2.22 to 5.2.6 and updated `<AsyncComponent>` props. `appName` is no longer supported.
2025-03-04 12:09:35 +01:00
Katarina Sieklova
2dcdcebda9 Wizard: make optional steps clickable
Fixes #2947

Optional steps get clickable after Register step was visited.
2025-03-04 11:26:53 +01:00
regexowl
75ddd854e8 src: Remove timezone and locale unleash flags
This removes `image-builder.timezone.enabled` and `image-builder.locale.enabled` gating as both were released to production.
2025-03-04 10:04:26 +01:00
regexowl
223a6a6780 Wizard: Deprecate Chip and ChipGroup components
`Chip` and `ChipGroup` components will be deprecated in PF6. This replaces them with recommended `Label` and `LabelGroup`.
2025-03-04 08:36:41 +01:00
Katarina Sieklova
9dc66ec1d0 Wizard: bigger space between in target envs in review 2025-03-03 11:25:11 +01:00
dependabot[bot]
4bae9645ad build(deps-dev): bump babel-loader from 9.2.1 to 10.0.0
Bumps [babel-loader](https://github.com/babel/babel-loader) from 9.2.1 to 10.0.0.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v9.2.1...v10.0.0)

---
updated-dependencies:
- dependency-name: babel-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 10:18:08 +01:00
red-hat-konflux[bot]
6f784e1634 Update Konflux references
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-03-03 08:32:20 +01:00
Katarina Sieklova
d527c2607e Wizard: resolving className modifiers 2025-02-28 09:24:41 +01:00
Katarina Sieklova
e3fde5eb9b Wizard: fix indentation of manual file system config
Fixes #2910

Indentation of manual file system configuration in the review step of the wizard was aligned.
2025-02-28 09:24:41 +01:00
regexowl
57fab5fd80 LandingPage: Add NewAlert for added customizations
This updates `NewAlert` to inform about new customizations available in Images.

Local storage item name was also updated.
2025-02-28 08:44:52 +01:00
regexowl
56e85e0954 Wizard: Add masked services input
This exposes masked services in the UI by adding a masked services input.
2025-02-27 12:46:29 -06:00
dependabot[bot]
408ecb2a80 build(deps-dev): bump sass from 1.85.0 to 1.85.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.85.0 to 1.85.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.85.0...1.85.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-27 08:15:54 +01:00
dependabot[bot]
f4733659cf build(deps-dev): bump @typescript-eslint/parser from 8.24.1 to 8.25.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.24.1 to 8.25.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.25.0/packages/parser)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-27 07:27:36 +01:00
regexowl
59e383fe5a Wizard: Remove first boot script from services when no script
There is a bug that makes `custom-first-boot` service stay in services when the first boot script is removed.

How to reproduce:
1. create a blueprint with a first boot script
2. download the blueprint and confirm `custom-first-boot` was added to enabled services
3. click on "Edit blueprint"
4. go to First boot step and remove the script
5. save edited blueprint

Current behaviour:
- `custom-first-boot` service should be still enabled even with the removed first boot script

Updated behaviour:
- `custom-first-boot` is no longer in the blueprint after first boot script got removed
2025-02-26 16:48:32 +01:00
Katarina Sieklova
26f56bf9f0 Wizard: reseting page to default state
Fixed #2865

OpenSCAP profile page in Compliance step clears after selecting "None" or "X" in the dropdown.
2025-02-26 14:23:41 +01:00
dependabot[bot]
d14f0afa64 build(deps): bump @sentry/webpack-plugin from 3.2.0 to 3.2.1
Bumps [@sentry/webpack-plugin](https://github.com/getsentry/sentry-javascript-bundler-plugins) from 3.2.0 to 3.2.1.
- [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.2.0...3.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-26 11:10:16 +01:00
dependabot[bot]
a376be242f build(deps-dev): bump uuid from 11.0.5 to 11.1.0
Bumps [uuid](https://github.com/uuidjs/uuid) from 11.0.5 to 11.1.0.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v11.0.5...v11.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-26 10:28:49 +01:00
Katarina Sieklova
daac042df8 Changed to switch statement 2025-02-25 12:09:33 +01:00
Katarina Sieklova
17709cf093 Blueprints: invalid message variant on upload
Fixed #2919

Error message has error variant when uploading invalid blueprint.
2025-02-25 12:09:33 +01:00
dependabot[bot]
d891ba824e 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.19 to 4.1.20.
- [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.19...@redhat-cloud-services/frontend-components-notifications-4.1.20)

---
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-25 09:40:57 +01:00
dependabot[bot]
c66f38c484 build(deps): bump @unleash/proxy-client-react from 4.5.1 to 4.5.2
Bumps [@unleash/proxy-client-react](https://github.com/Unleash/unleash-proxy-react) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/Unleash/unleash-proxy-react/releases)
- [Changelog](https://github.com/Unleash/proxy-client-react/blob/main/Changelog.md)
- [Commits](https://github.com/Unleash/unleash-proxy-react/compare/v4.5.1...v4.5.2)

---
updated-dependencies:
- dependency-name: "@unleash/proxy-client-react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-25 09:23:32 +01:00
Sanne Raymaekers
a50a9f6afd .github/workflows/trigger-gitlab: donly trigger nightly pipelines
This doens't apply to image-builder-frontend for now.
2025-02-24 16:13:11 +01:00
Sanne Raymaekers
9038d4948a .github/workflows/trigger-gitlab: remove artifact steps
These are only relevant in the osbuild/osbuild-composer, where the tests
workflow uploads artifacts.
2025-02-24 16:13:11 +01:00
Sanne Raymaekers
747b718933 schutzbot: add basic schutzbot structure
Simply builds the rpm and installs it.
2025-02-24 13:38:05 +01:00
dependabot[bot]
35bb95438b Wizard: Switch view to "Available" when searching for package
this fix an issue when user search for a package, the viewv stay "Selected"
instead of switching to "Available

fix one test
2025-02-24 12:00:31 +01:00
red-hat-konflux[bot]
34fa6782be chore(deps): update konflux references to b78123a
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-02-24 10:58:21 +01:00
regexowl
4907d3048f Wizard: Remove obsolete css
This removes css styles for `DualListSelector` we no longer use and a temporary pagination fix that was already addressed directly in PF.
2025-02-24 11:12:22 +02:00
dependabot[bot]
d48c90eba1 build(deps-dev): bump sass from 1.83.1 to 1.85.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.83.1 to 1.85.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.83.1...1.85.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 09:10:16 +01:00
dependabot[bot]
c0e4b7636d 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.24.0 to 8.24.1.
- [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.1/packages/eslint-plugin)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-24 08:35:45 +01:00
dependabot[bot]
1662d9a0a1 build(deps): bump @sentry/webpack-plugin from 3.1.2 to 3.2.0
Bumps [@sentry/webpack-plugin](https://github.com/getsentry/sentry-javascript-bundler-plugins) from 3.1.2 to 3.2.0.
- [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.1.2...3.2.0)

---
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-20 10:17:51 +01:00