Commit graph

2507 commits

Author SHA1 Message Date
Anna Vítová
5cfab75813 api: update image-builder api 2024-11-26 13:03:55 +01:00
regexowl
f48e1bfcb5 ImagesTable: Unify pagination format with Repositories
This makes bottom pagination format on ImagesTable consistent with the format being used in Repositories service.
2024-11-25 19:04:54 +01:00
dependabot[bot]
67fdd794f6 build(deps-dev): bump @redhat-cloud-services/tsc-transform-imports
Bumps @redhat-cloud-services/tsc-transform-imports from 1.0.17 to 1.0.21.

---
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>
2024-11-25 17:52:18 +01:00
dependabot[bot]
cf2be782ea build(deps-dev): bump @babel/preset-react from 7.25.7 to 7.25.9
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.25.7 to 7.25.9.
- [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.25.9/packages/babel-preset-react)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-25 17:31:08 +01:00
regexowl
336de65389 Konflux: Update rpms-signature-scan by generated values
This updates current rpms-signature-scan based on the pipeline code that was generated when migrating to Konflux.

This might not be strictly needed, but might aleaviate hypothetical unpredictable behaviour.
2024-11-25 17:18:32 +01:00
regexowl
7851536669 Konflux: Move rpms-signature-scan lower in pipeline
This moves rpms-signature-scan lower in pipeline to allow update of `runAfter` value.
2024-11-25 17:18:32 +01:00
Sanne Raymaekers
ece0738150 store/enhancedImageBuilderApi: handle empty error data
There's a case where the IB api returns an error without more data in
it, though it might be coming from a component which treats the request
before the image builder api.
2024-11-25 17:07:37 +01:00
regexowl
d8bb3485d8 Wizard: Add v5 PF slug to classNames
This adds v5 PF slug to classNames throughout the code base, making the formatting work properly.
2024-11-25 16:54:59 +01:00
regexowl
4f728874f7 ImagesTable: Fix image name spacing
This adds a component value to the image name, making the spacing work correctly.
2024-11-25 16:32:10 +01:00
Simon Steinbeiss
6208596b35 ImageBuildStatus.css: Add version to status colors
Add the v5 slug to the status colors as the unversioned colors don't
seem to be defined in PatternFly anymore. I haven't looked at the
history, but I presume this was done at some point during v6
development, as the upstream colors now contain the v6 slug:
https://www.patternfly.org/components/banner/design-guidelines/#usage

Fixes #2611
2024-11-25 13:22:46 +01:00
red-hat-konflux[bot]
4a893e10ba chore(deps): update konflux references
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2024-11-25 08:54:09 +01:00
dependabot[bot]
35e2706d01 build(deps): bump @patternfly/react-table from 5.4.1 to 5.4.11
Bumps [@patternfly/react-table](https://github.com/patternfly/patternfly-react) from 5.4.1 to 5.4.11.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@5.4.1...@patternfly/react-table@5.4.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-22 11:20:40 +01:00
dependabot[bot]
b8940e209b 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.12.1 to 8.15.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.15.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>
2024-11-22 09:40:37 +01:00
Jakub Rusz
680d7ea7c4 pr_check: Skip unit tests
We can now skip unit tests (running npn verify) in the pr_check to speed
up the whole process and reduce flakiness. The unit tests are ran
separately in a github action so this is fine.
2024-11-21 14:25:33 -06:00
dependabot[bot]
58aa4f8e45 build(deps-dev): bump @patternfly/react-icons from 5.4.0 to 5.4.2
Bumps [@patternfly/react-icons](https://github.com/patternfly/patternfly-react) from 5.4.0 to 5.4.2.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-icons@5.4.0...@patternfly/react-icons@5.4.2)

---
updated-dependencies:
- dependency-name: "@patternfly/react-icons"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-21 17:05:51 +01:00
Anna Vítová
c75dc5da21 Wizard: add warning for the min size in bytes 2024-11-21 15:29:42 +01:00
Anna Vítová
63e9610beb src: Add on prem blueprints import support 2024-11-21 14:11:10 +01:00
dependabot[bot]
edb274bf8c build(deps-dev): bump eslint-plugin-jest-dom from 5.4.0 to 5.5.0
Bumps [eslint-plugin-jest-dom](https://github.com/testing-library/eslint-plugin-jest-dom) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/testing-library/eslint-plugin-jest-dom/releases)
- [Commits](https://github.com/testing-library/eslint-plugin-jest-dom/compare/v5.4.0...v5.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-21 08:54:06 +01:00
regexowl
dc9ba5121f Wizard: Fix package recommendations
Previously the Wizard crashed when looking for recommendations for packages that had none.

How to reproduce the crash:
- go to the Packages step
- search for and select `tmux` package

After fix:
- when selecting a `tmux` package or any other package without recommendations, the recommendations stay empty, but the Wizard doesn't crash
2024-11-20 11:43:02 +01:00
dependabot[bot]
1c2b9e9800 build(deps-dev): bump sass-loader from 16.0.2 to 16.0.3
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 16.0.2 to 16.0.3.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v16.0.2...v16.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-20 09:19:22 +01:00
regexowl
54f482bddc Wizard: Update description fetching for recommended packages
This update the way recommended packages' descriptions are fetched.

contentSources API was updated to accept an array of packages as a searchRpm argument, meaning we can now send a request to fetch all package descriptions at once.
2024-11-19 18:44:49 -06:00
regexowl
ad784b9ab9 api: Update contentSources schema
This updates the contentSources schema and regenerates the API.
2024-11-19 18:44:49 -06:00
regexowl
b526ad3c60 Wizard: Basic Timezone step
This adds bare bones Timezone step with appropriate file structure and basic unit tests.
2024-11-19 13:01:34 -06:00
regexowl
b8c852c836 Wizard: Prefetch the list of activation keys on Image output step
This prefetches the list of activation keys upon entering the Wizard, making the loading times on the Registration step better for the user.
2024-11-19 11:40:51 -06:00
Sanne Raymaekers
4637a2a5d8 image-builder-frontend: only show Beta releases if flag is on
Betas are only available for a few weeks at a time, so they should be
able to be hidden on demand.
2024-11-19 16:40:27 +01:00
regexowl
d13eae23dd Wizard: Disable rhc for RHEL 10 Beta
This temporarily disables rhc option for RHEL 10 Beta registration as it currently doesn't work.
2024-11-19 16:20:37 +01:00
red-hat-konflux[bot]
9a99f9bae6 chore(deps): update konflux references
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2024-11-19 14:47:22 +01:00
Sanne Raymaekers
15ac21f988 Wizard: hide unsupported steps for RHEL 10 Beta 2024-11-19 11:21:57 +01:00
Sanne Raymaekers
73dad35e45 src/ImagesTable: support RHEL 10 Beta 2024-11-19 11:21:57 +01:00
Sanne Raymaekers
83125863e6 api: update image-builder api 2024-11-19 11:21:57 +01:00
Sanne Raymaekers
b8b9b8f846 src/Utilities: RHEL 10 support for isRhel 2024-11-19 11:21:57 +01:00
Sanne Raymaekers
3ada1ceb68 Wizard: RHEL 10 support 2024-11-19 11:21:57 +01:00
Sanne Raymaekers
79e0676c7c src/constants: add RHEL_10_BETA
RHEL_10 is defined but not added to the releases yet. This way utility
functions and helpers can be updated without showing RHEL_10 in the UI
yet.
2024-11-19 11:21:57 +01:00
Sanne Raymaekers
a2b8883350 fec.config: move sentry's moduleMetadata out of _experiments 2024-11-18 13:16:48 +01:00
Sanne Raymaekers
dc613de3cb Revert "fec.config: prefix paths"
I misunderstood, this is for legacy sourcemaps only, the new method uses
debug IDs which are embedded and don't rely on url paths to resolve the
sources.

This reverts commit 2410143ba0.
2024-11-18 13:16:48 +01:00
regexowl
2d1f983b9c deps: Revert frontend-components bump, install from zero
This reverts #2556 and installs all dependencies from complete zero so there are no leftovers.
2024-11-18 11:49:26 +01:00
Sanne Raymaekers
2410143ba0 fec.config: prefix paths
The paths of each artefact needs to be prefixed to reflect where the
static resources are hosted on consoledot (which is under
/apps/image-builder).
2024-11-18 09:36:10 +01:00
regexowl
8cc9414b5f deps: Patternfly deps to version 5.4.1
This makes 5.4.1 the version for all Patternfly deps.
2024-11-15 15:34:47 +01:00
Sanne Raymaekers
08950749d0 tsconfig.json: generate sourcemaps for typescript files 2024-11-15 13:03:01 +01:00
Sanne Raymaekers
4b16cf3c98 fec.config: fix typo in sentry plugin 2024-11-15 11:31:30 +01:00
dependabot[bot]
026f3efb38 build(deps): bump @patternfly/react-code-editor from 5.4.3 to 6.0.0
Bumps [@patternfly/react-code-editor](https://github.com/patternfly/patternfly-react) from 5.4.3 to 6.0.0.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.4.3...@patternfly/react-code-editor@6.0.0)

---
updated-dependencies:
- dependency-name: "@patternfly/react-code-editor"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-15 11:08:54 +01:00
Sanne Raymaekers
7d9f4b9c62 ci.sh: export sentry variables before calling build
Otherwise fec doesn't pick them up.
2024-11-15 10:50:03 +01:00
dependabot[bot]
5af29d37c5 build(deps-dev): bump @types/react from 18.3.11 to 18.3.12
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.3.11 to 18.3.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-15 10:31:31 +01:00
Sanne Raymaekers
d20ae705fc fec: add sentry plugin
This will enable unminified stacktraces in sentry.
2024-11-15 10:09:38 +01:00
Anna Vítová
7c99415822 Wizard: Add bytes to min_size partitioning <HMS-4981> 2024-11-14 11:07:45 +01:00
Sanne Raymaekers
7b365dcb4d Wizard: handle dos scripts in first boot
Scripts in which lines are terminated by CRLF break the first boot
service, so let's make sure the line termination is correct.
2024-11-14 10:33:44 +01:00
Michal Gold
ba9546193e Wizard: add support for other input type in HookValidatedInput
adds `type` prop to `HookValidatedInput` with a default of 'text', to be able to support other type input like 'password'
2024-11-14 10:24:00 +01:00
dependabot[bot]
0f111a4e6a build(deps): bump @redhat-cloud-services/frontend-components
Bumps [@redhat-cloud-services/frontend-components](https://github.com/RedHatInsights/frontend-components) from 4.2.16 to 4.2.22.
- [Commits](https://github.com/RedHatInsights/frontend-components/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-14 10:13:45 +01:00
dependabot[bot]
7d57099a2f build(deps-dev): bump eslint-plugin-jsx-a11y from 6.10.0 to 6.10.2
Bumps [eslint-plugin-jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) from 6.10.0 to 6.10.2.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/compare/v6.10.0...v6.10.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-14 10:02:36 +01:00
dependabot[bot]
d58be5e528 build(deps-dev): bump uuid from 11.0.2 to 11.0.3
Bumps [uuid](https://github.com/uuidjs/uuid) from 11.0.2 to 11.0.3.
- [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.2...v11.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-14 09:25:04 +01:00