dependabot[bot]
f503ff3e1c
build(deps-dev): bump @babel/preset-env from 7.23.3 to 7.23.6
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.23.3 to 7.23.6.
- [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.6/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>
2023-12-15 08:40:12 +01:00
dependabot[bot]
a568df45e3
build(deps-dev): bump @testing-library/jest-dom from 6.1.4 to 6.1.5
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 6.1.4 to 6.1.5.
- [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.4...v6.1.5 )
---
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-12-14 09:47:16 +01:00
dependabot[bot]
155bb23aa3
build(deps-dev): bump @types/jest from 29.5.10 to 29.5.11
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 29.5.10 to 29.5.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: "@types/jest"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-14 08:54:46 +01:00
Thomas Lavocat
888630acea
wizard: remove unused code from the implementation
...
There were some leftovers that needs to be removed. This commit simply
cleans them up.
2023-12-13 16:36:21 +01:00
dependabot[bot]
f46bdb423c
build(deps-dev): bump @babel/core from 7.23.3 to 7.23.6
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.23.3 to 7.23.6.
- [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.6/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-12-13 09:50:55 +01:00
dependabot[bot]
ddc496a99a
build(deps-dev): bump jest-fail-on-console from 3.1.1 to 3.1.2
...
Bumps [jest-fail-on-console](https://github.com/ValentinH/jest-fail-on-console ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/ValentinH/jest-fail-on-console/releases )
- [Commits](https://github.com/ValentinH/jest-fail-on-console/compare/v3.1.1...v3.1.2 )
---
updated-dependencies:
- dependency-name: jest-fail-on-console
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-13 09:03:29 +01:00
regexowl
e7dee1edfe
api: Remove unused Axios API calls
...
This removes Axios API calls which were replaced by RTK Query.
2023-12-12 13:09:31 +01:00
regexowl
79a0060697
store: Remove actions.js
...
This removes the `actions.js` file and its mocking from the LandingPage test as these actions are no longer used.
2023-12-12 12:25:16 +01:00
dependabot[bot]
c4d2444d44
build(deps-dev): bump @babel/plugin-transform-runtime
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.22.10 to 7.23.6.
- [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.6/packages/babel-plugin-transform-runtime )
---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-runtime"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-12 10:59:09 +01:00
dependabot[bot]
659355cea4
build(deps-dev): bump @babel/eslint-parser from 7.22.9 to 7.23.3
...
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser ) 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/eslint/babel-eslint-parser )
---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-12 08:48:43 +01:00
dependabot[bot]
99908d9702
build(deps-dev): bump eslint from 8.54.0 to 8.55.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.54.0 to 8.55.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.54.0...v8.55.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-12-11 16:36:54 +01:00
regexowl
3473d98511
dependabot: Bump open PR limit
...
This bumps a maximum number of opened dependabot PRs as there are currently three open PRs in need of manual revision. Those are blocking any other bumps from being even opened.
The bump should be temporary.
2023-12-11 15:42:27 +01:00
lucasgarfield
fabd3e015a
redux store: define typed useSelector and useDispatch hooks
...
From the RTK docs:
```
Using configureStore should not need any additional typings. You will,
however, want to extract the RootState type and the Dispatch type so
that they can be referenced as needed. Inferring these types from the
store itself means that they correctly update as you add more state
slices or modify middleware settings.
----------------------------------------------------------------------
While it's possible to import the RootState and
AppDispatch types into each component, it's better to create pre-typed
versions of the useDispatch and useSelector hooks for usage in your
application. This is important for a couple reasons:
For useSelector, it saves you the need to type (state: RootState)
every time
For useDispatch, the default Dispatch type does not know about
thunks or other middleware. In order to correctly dispatch thunks,
you need to use the specific customized AppDispatch type from the
store that includes the thunk middleware types, and use that with
useDispatch. Adding a pre-typed useDispatch hook keeps you from
forgetting to import AppDispatch where it's needed.
```
source:
https://react-redux.js.org/using-react-redux/usage-with-typescript#define-root-state-and-dispatch-types
2023-12-08 09:37:25 +01:00
lucasgarfield
8d47e52868
dev deps: add @types/react-redux
...
This dependency adds Typescript types for Redux Toolkit. It is necessary if we wish to start using RTK for state management (with .tsx files), which we very likely will for HMS-2861 (v2 wizard).
2023-12-08 09:37:25 +01:00
regexowl
44bb6f62ff
test: Add a test checking if release lifecycle chart renders correctly
...
This adds a test that checks if the release lifecycle chart rendered only when RHEL 8 release is selected.
2023-12-07 19:39:58 +01:00
regexowl
c11f80188e
test: Update release select option to partial match
...
With description added to the RHEL release options in Release select every query using name needed to be updated from full to partial match.
2023-12-07 19:39:58 +01:00
regexowl
014a0c1d70
Wizard: Add description to RHEL release options
...
This adds a description to RHEL options in the Release select on Image Output step as per mocks.
2023-12-07 19:39:58 +01:00
regexowl
f6d1b12b3c
Wizard: Add annotation for current date
...
This adds a line annotation to mark the current date.
2023-12-07 19:39:58 +01:00
regexowl
51f68bda34
test: Mock ResizeObserver
...
This adds mocked ResizeObserver to the jest setup so the tests don't fail on charts created with Chart.js.
2023-12-07 19:39:58 +01:00
regexowl
fd30e5b634
Wizard: Add release lifecycle charts
...
This adds information about release lifecycle to the Image Output step of the Wizard. Summary is also shown on the Review step.
2023-12-07 19:39:58 +01:00
regexowl
1ec7d886e4
deps: Install Chart.js
...
Install:
- charting library Chart.js (https://www.chartjs.org/docs/latest/ )
- React components for Chart.js react-chartjs-2 (https://react-chartjs-2.js.org/ )
- Moment.js to allow the use of time scale for the axis (https://momentjs.com/ )
- adapter allowing the use of Moment.js with Chart.js chartjs-adapter-moment (https://github.com/chartjs/chartjs-adapter-moment )
- a plugin for drawing annotations in Chart.js charts (https://www.chartjs.org/chartjs-plugin-annotation )
2023-12-07 19:39:58 +01:00
Sanne Raymaekers
2b29275c2a
CreateImageWizard: move oci to stable
...
Move the oracle cloud infrastructure PR to stable.
2023-12-07 17:01:51 +01:00
regexowl
3e07472826
Wizard/ImagesTable/test: Change "VMWare" to "VMware"
...
The "w" in VMware should be lower case, this updates it in all places.
2023-12-05 13:20:42 +01:00
Sanne Raymaekers
cea1caf175
CreateImageWizard: proprely gate WSL images
...
`isBeta` is a function, so the check would also return true in stable.
2023-12-04 15:06:28 +01:00
regexowl
e011c4ba0b
test: Await asynchronous setUp()
...
This adds await to call of asynchronous `setUp()` function. Previously this wasn't awaited which sometimes caused the tests to continue without being properly set up first.
2023-12-04 11:28:16 +01:00
lucasgarfield
c7dd831645
API: Update image-builder API
...
This commit updates the image-builder API due to these two recent
changes:
A new type added for the ClientId, used when differentiating between API
and UI users.
fce3d1c355
OpenSCAP profile names and descriptions.
1d292917d1
2023-12-04 10:48:29 +01:00
Sanne Raymaekers
31d286aac3
test/CreateImageWizard: Test compose requests sent by wizard
2023-12-01 13:11:07 +01:00
Sanne Raymaekers
ae7178158e
CreateImageWizard: Fix passing gcp upload_options
...
Upload options were added in the wrong place, this inserts them back
into the correct place.
Also see #1355 .
2023-12-01 13:11:07 +01:00
dependabot[bot]
54770c766d
build(deps-dev): bump @adobe/css-tools from 4.3.1 to 4.3.2
...
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools ) from 4.3.1 to 4.3.2.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md )
- [Commits](https://github.com/adobe/css-tools/commits )
---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-01 08:27:38 +01:00
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