Tom Koscielniak
f52fa6d851
Add iqe trigger integration
2023-11-30 14:37:50 +01:00
Lucas Garfield
223be1f3fd
Update src/Components/CreateImageWizard/steps/fileSystemConfiguration.js
...
Co-authored-by: Klara Simickova <49452678+regexowl@users.noreply.github.com>
2023-11-29 12:52:48 +01:00
lucasgarfield
f5039dea3c
Wizard: Fix HMS-2036, bug in file system customization steps
...
Information about automatic partioning was also being displayed when
manual partioning was selected. This commit fixes the bug.
2023-11-29 12:52:48 +01:00
regexowl
39531bf2bb
api: Update imageBuilder api schema
...
This includes an update to the imageBuilder api schema and changes generated by `npm run api`.
2023-11-28 13:01:00 +01:00
regexowl
ab1987660e
Wizard: Add client_id to compose requests
...
This adds `client_id` value to compose requests for the purpose of differentiating between images created in UI and those created directly via api.
2023-11-28 13:01:00 +01:00
dependabot[bot]
df5a06ff86
build(deps-dev): bump @typescript-eslint/parser from 6.2.1 to 6.13.0
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 6.2.1 to 6.13.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/v6.13.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>
2023-11-28 08:36:57 +01:00
regexowl
62673813e2
test: Remove out-of-date comments
...
This cleans up comments in tests and removes all that are no longer relevant.
2023-11-27 13:52:20 +01:00
dependabot[bot]
28d37ded06
build(deps-dev): bump stylelint-config-recommended-scss
...
Bumps [stylelint-config-recommended-scss](https://github.com/stylelint-scss/stylelint-config-recommended-scss ) from 12.0.0 to 13.1.0.
- [Release notes](https://github.com/stylelint-scss/stylelint-config-recommended-scss/releases )
- [Changelog](https://github.com/stylelint-scss/stylelint-config-recommended-scss/blob/master/CHANGELOG.md )
- [Commits](https://github.com/stylelint-scss/stylelint-config-recommended-scss/compare/v12.0.0...v13.1.0 )
---
updated-dependencies:
- dependency-name: stylelint-config-recommended-scss
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-27 08:35:06 +01:00
regexowl
1fc0aca5b2
Wizard: Activation key management link based on env
...
The "Activation keys page" link on the Registration step previously led to prod from both prod and stage envs.
This fixes the problem and ensures that the button in stage links to the activation key management in stage and the prod one to prod.
2023-11-24 15:28:51 +01:00
dependabot[bot]
b797f62c66
build(deps-dev): bump jest and @types/jest
...
Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest ) and [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ). These dependencies needed to be updated together.
Updates `jest` from 29.6.2 to 29.7.0
- [Release notes](https://github.com/jestjs/jest/releases )
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jestjs/jest/commits/v29.7.0/packages/jest )
Updates `@types/jest` from 29.5.7 to 29.5.10
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: jest
dependency-type: direct:development
update-type: version-update:semver-minor
- dependency-name: "@types/jest"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-24 12:20:29 +01:00
regexowl
44195c5334
Wizard: Remove hard coded architecture from OCI request
...
This replaces hard coded 'x86_64' architecture with the value based on a form state for OCI images.
2023-11-24 09:08:00 +01:00
Sanne Raymaekers
b60c37f1f8
ImagesTable: show architecture of composes
2023-11-23 17:55:43 +01:00
regexowl
ac357f4e13
Wizard: Remove hardcoded architecture
...
This updates requests that contained hardcoded value `x86_64` as an architecture.
2023-11-23 17:02:26 +01:00
Amir Fefer
16cf421c68
feat(HMS-2789): simplfy activation key creation
2023-11-23 16:19:07 +01:00
dependabot[bot]
2c0c85f241
build(deps-dev): bump @babel/preset-typescript from 7.22.5 to 7.23.3
...
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript ) from 7.22.5 to 7.23.3.
- [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.23.3/packages/babel-preset-typescript )
---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-23 10:47:38 +01:00
dependabot[bot]
d7643d77be
build(deps-dev): bump @testing-library/react from 14.0.0 to 14.1.2
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 14.0.0 to 14.1.2.
- [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/v14.0.0...v14.1.2 )
---
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>
2023-11-23 08:55:54 +01:00
dependabot[bot]
32ae51279d
build(deps-dev): bump @types/react-dom from 18.2.15 to 18.2.17
...
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ) from 18.2.15 to 18.2.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom )
---
updated-dependencies:
- dependency-name: "@types/react-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-22 14:40:18 +01:00
Sanne Raymaekers
6739851897
CreateImageWizard: package search through correct architecture
...
Instead of always searching through x86 repos, search through the repos
of the selected architecture. This fixes HMS-3066.
2023-11-22 13:19:34 +01:00
regexowl
e60afdbe27
Wizard: Add temporary alert about /usr sub-directories
...
This adds an alert to the File system configuration step that informs about newly disables `/usr` sub-directories.
It can be removed in two weeks after all the images with possible erroneous mount points are removed.
2023-11-22 11:47:23 +01:00
regexowl
c2cd4bed97
Wizard: Replace /usr path with sub-directories by /usr on Recreate
...
Sub-directories for `/usr` prefix are no longer supported in file system configuration. This replaces the possible erroneous path with a valid one so the user is not able to send an invalid image request via Recreate action.
2023-11-22 11:47:23 +01:00
regexowl
3036577b31
fixtures: Add file system configuration to an existing mock
...
This adds basic file system configuration including an `/usr` sub-directory to an already existing mock.
2023-11-22 11:47:23 +01:00
regexowl
628bc2808b
README: Setup certificate for msw
...
This adds steps for setting up certificates needed in order to run msw with mocked data.
2023-11-22 10:47:06 +01:00
dependabot[bot]
38c97644cb
build(deps-dev): bump eslint from 8.46.0 to 8.54.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.46.0 to 8.54.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.46.0...v8.54.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-22 08:57:49 +01:00
regexowl
0ea2696ac5
fixtures: Update image names
...
This updates the names of images to how should they look like according to the image name validation rules in Wizard.
"The image name can be 3-63 characters long. It can contain lowercase letters, digits and hyphens, has to start with a letter and cannot end with a hyphen."
2023-11-21 15:27:02 +01:00
mgold1234
9ab3d45f99
Wizard: add all/selected toggle buttons to custom repository step
...
This commit resolves #1201 .
It adds a toggle to the repositories step that allows users to toggle
between all and selected repositories.
2023-11-21 14:43:32 +01:00
mgold1234
7b12710f1c
add ssl_certification explenation to the readme file
2023-11-21 10:42:03 +01:00
dependabot[bot]
b43fbecbf3
build(deps-dev): bump eslint-plugin-import from 2.28.1 to 2.29.0
...
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import ) from 2.28.1 to 2.29.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases )
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md )
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.28.1...v2.29.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-import
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-21 09:44:27 +01:00
dependabot[bot]
206fbad944
build(deps-dev): bump @testing-library/jest-dom from 6.1.3 to 6.1.4
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 6.1.3 to 6.1.4.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.1.3...v6.1.4 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-21 08:41:09 +01:00
dependabot[bot]
8f144c85cf
build(deps): bump @data-driven-forms/pf4-component-mapper
...
Bumps [@data-driven-forms/pf4-component-mapper](https://github.com/data-driven-forms/react-forms/tree/HEAD/packages/pf4-component-mapper ) from 3.21.8 to 3.22.0.
- [Release notes](https://github.com/data-driven-forms/react-forms/releases )
- [Commits](https://github.com/data-driven-forms/react-forms/commits/v3.22.0/packages/pf4-component-mapper )
---
updated-dependencies:
- dependency-name: "@data-driven-forms/pf4-component-mapper"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 11:57:34 +01:00
dependabot[bot]
a0f55c1091
build(deps): bump react-router-dom from 6.16.0 to 6.19.0
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.16.0 to 6.19.0.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.19.0/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 10:39:46 +01:00
mgold1234
b8c634eac0
fix some lint warning message
2023-11-20 09:37:12 +01:00
dependabot[bot]
2bdb8c6fcc
build(deps): bump @data-driven-forms/react-form-renderer
...
Bumps [@data-driven-forms/react-form-renderer](https://github.com/data-driven-forms/react-forms/tree/HEAD/packages/react-form-renderer ) from 3.21.10 to 3.22.0.
- [Release notes](https://github.com/data-driven-forms/react-forms/releases )
- [Commits](https://github.com/data-driven-forms/react-forms/commits/v3.22.0/packages/react-form-renderer )
---
updated-dependencies:
- dependency-name: "@data-driven-forms/react-form-renderer"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-17 09:25:12 +01:00
dependabot[bot]
458a4fa00c
build(deps-dev): bump @babel/preset-react from 7.22.5 to 7.23.3
...
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react ) from 7.22.5 to 7.23.3.
- [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.23.3/packages/babel-preset-react )
---
updated-dependencies:
- dependency-name: "@babel/preset-react"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-17 09:14:52 +01:00
lucasgarfield
d7bfb8efef
Tests: Fix flake in recreate image tests
...
The getBy selector in this test caused tests to flake in CI, changing to
findBy should prevent flakes.
2023-11-16 16:25:52 +01:00
lucasgarfield
0405eda319
Wizard: Fix HMS-3031, bug in Package's step search
...
This fixes a bug in the packages step search where hitting enter causes
the wizard to re-render and reset to the first step.
2023-11-16 16:25:52 +01:00
lucasgarfield
196e358aa3
Wizard: Fix eslint warnings in Packages step
...
Most of these fixes are required because of the exhaustive dependencies
rule.
2023-11-16 16:25:52 +01:00
Sanne Raymaekers
f1141ec698
src: add RHEL 8.9
2023-11-16 14:44:21 +01:00
dependabot[bot]
344bdb6773
build(deps-dev): bump @babel/preset-env from 7.22.9 to 7.23.3
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.22.9 to 7.23.3.
- [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.23.3/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-14 12:03:27 +01:00
Tomáš Hozza
cfbeb77ac5
Wizard/MountPoint: hotfix for updated mountpoint policy
...
The updated mountpoint policy merged in osbuild-composer upstream does
not allow sub-directories of `/usr` to be placed on a separate
partition. There are other changes, but this fix prevents users from
making an obvious error during image creation, until the updated policy
is reflected in the UI.
Related to https://issues.redhat.com/browse/COMPOSER-2030
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-11-14 11:00:40 +01:00
Thomas Lavocat
c7ffde49ae
wizard/tests: add integration and unit tests
...
Add integration and unit tests for the wizard. The integration testing
is making sure that the wizard holds up together, is navigable and has
at least a happy path tested.
The unit test of the ImageOuput tests more combinations of clicks on the
interface and make sure the inner logic is sound.
The intersection of the two tests brings us confidence that the UX will
work according to spec.
2023-11-14 09:33:36 +01:00
Thomas Lavocat
2173545f60
wizard/review: add the review step
...
Bring in a review step in the wizard. The purpose is to incrementally
develop it while new steps are added to the mix. This way the Wizard
gets to be integration testable from the early beginning.
Right now the review step is only showing information about the Image
Output step. Even though the Image Output step contains data about the
target environment, these information are going to need the Target
Environment step to be developed in order to be fully shown.
2023-11-14 09:33:36 +01:00
Thomas Lavocat
9c78456c57
wizard/image_output: add the image output step
...
Port the image output step to the new wizard v2.
This is also the first step in the new redesigned wizard and this commit
message is an opportunity to detail a bit the organisation of it:
The code is organised as followed:
- CreateImageWizard is the root and contains all the code associated
with the PF wizard. (i.e Wizard and WizardStep).
- Each step has its code under the step/ sub directory.
- The step directory is named after the step (i.e ImageOutput for the
Image Output step
- At the root of the step directory there is a file which contains the
code of the step (i.e ImageOutput.tsx).
- The main component of the step can access many subcomponents and they
have to be stored alongside it in its directory.
State management:
- The state management is only done with react use states, prop drilling
and state lifting. This is to ensure simplicity as it makes the wizard
- If necessary in the future, there might be needs for context and
reducers, but it's quite not the case RN. And using them come at the
cost of making exploring the code harder.
- CreateImageWizard will declare all the states
2023-11-14 09:33:36 +01:00
dependabot[bot]
74afa2073a
build(deps): bump react-redux from 8.1.2 to 8.1.3
...
Bumps [react-redux](https://github.com/reduxjs/react-redux ) from 8.1.2 to 8.1.3.
- [Release notes](https://github.com/reduxjs/react-redux/releases )
- [Changelog](https://github.com/reduxjs/react-redux/blob/master/CHANGELOG.md )
- [Commits](https://github.com/reduxjs/react-redux/compare/v8.1.2...v8.1.3 )
---
updated-dependencies:
- dependency-name: react-redux
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-14 08:55:38 +01:00
Sanne Raymaekers
6e737c59a9
src: add rhel-93
2023-11-13 17:32:32 +01:00
mgold1234
303e557f07
fix linting warnings
...
this commit fix some linting warnings that user get when running npm run lint:js:fix command,
some worning comes after big changes to TypeScript
2023-11-13 16:00:01 +01:00
mgold1234
536312680d
fix some react-hooks/exhaustive-deps lint warning message
...
this commit fixes some react-hooks/exhaustive-deps linting warning message
2023-11-13 10:51:52 +01:00
dependabot[bot]
1d963b218a
build(deps-dev): bump eslint-plugin-react from 7.33.0 to 7.33.2
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.33.0 to 7.33.2.
- [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.0...v7.33.2 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-13 09:11:51 +01:00
dependabot[bot]
d9f91dcde2
build(deps-dev): bump @babel/core from 7.23.2 to 7.23.3
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.23.2 to 7.23.3.
- [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.23.3/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>
2023-11-13 08:33:30 +01:00
regexowl
f0c078921b
eslint: Add accessibility rules
...
This adds eslint-plugin-jsx-a11y to the eslint configuration, setting up recommended set of rules for accessibility testing.
The error output by `jsx-a11y/no-autofocus` on encountering `autoFocus` attribute was switched to warning for now as whether to auto focus on an element or not can be highly contextual.
Fixes #948
2023-11-10 15:05:12 +01:00
dependabot[bot]
897360952e
build(deps): bump @patternfly/react-core from 5.0.1 to 5.1.1
...
Bumps [@patternfly/react-core](https://github.com/patternfly/patternfly-react ) from 5.0.1 to 5.1.1.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@5.0.1...@patternfly/react-core@5.1.1 )
---
updated-dependencies:
- dependency-name: "@patternfly/react-core"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-10 09:15:48 +01:00