regexowl
7fe7919dfa
V2Wizard: Add Repositories step to the Wizard
...
This adds Content as a step and Repositories as a substep to the Wizard.
2024-01-26 14:04:56 +01:00
regexowl
e854ee390c
V2Wizard: Create a folder for Repositories step
...
This creates a new folder for the Repositories step and copies over all needed files:
- Repositories.tsx
- RepositoriesStatus.tsx
- RepositoryUnavailable.tsx
2024-01-26 14:04:56 +01:00
dependabot[bot]
929955d812
build(deps-dev): bump @babel/eslint-parser from 7.23.3 to 7.23.9
...
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser ) from 7.23.3 to 7.23.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.23.9/eslint/babel-eslint-parser )
---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-26 09:49:03 +01:00
dependabot[bot]
16d8a32617
build(deps-dev): bump @testing-library/jest-dom from 6.1.5 to 6.3.0
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 6.1.5 to 6.3.0.
- [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.5...v6.3.0 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-26 08:43:40 +01:00
regexowl
7c40ca1b77
test: Enable blueprint description test
...
This enables a description check in the V2Wizard testing suite.
2024-01-25 16:30:32 +01:00
regexowl
27b4e226d0
ESLint: Add no-debugging-utils rule
...
This adds `testing-library/no-debugging-utils` rule to output an error when a debugging statement was left over in the code.
2024-01-25 15:23:57 +01:00
regexowl
269293e181
test: Remove debugging statement and change getBy query to findBy
...
This removes a leftover debugging statement and changes `getBy` query to an awaited async `findBy` as this was causing problems in the test when the checked component wasn't immediately available.
2024-01-25 14:57:09 +01:00
regexowl
6d6e9305d6
Wizard: Temporarily disable Recreate for images with custom repositories
...
This temporarily disables recreating images containing custom repos.
Changes were marked with "Temporarily disable" and "REMOVE" comments to make the revert easier.
2024-01-25 14:52:27 +01:00
regexowl
0435a50d4d
Wizard: Temporarily disable custom packages search
...
This temporarily disables custom packages search and adds an alert to the step.
2024-01-25 14:34:29 +01:00
regexowl
28468c7af6
test: Disable repositories tests
...
This disables all tests testing behaviour of the Repositories step.
All instances were marked with the "Temporarily disable" comment to make the complete revert easier in the future.
2024-01-25 13:53:27 +01:00
regexowl
d9d4cb02e4
test: Re-enable content testing suite
...
This renames CreateImageWizard.content to CreateImageWizard.content.test.js, re-enabling the testing suite.
2024-01-25 13:53:27 +01:00
dependabot[bot]
f081ca78b0
V2Wizard: add Details step to wizrd2
...
this commit add Details step to v2Wizard
2024-01-25 12:48:25 +01:00
dependabot[bot]
e2591bf001
build(deps-dev): bump css-loader from 6.9.0 to 6.9.1
...
Bumps [css-loader](https://github.com/webpack-contrib/css-loader ) from 6.9.0 to 6.9.1.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases )
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v6.9.0...v6.9.1 )
---
updated-dependencies:
- dependency-name: css-loader
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-25 10:49:43 +01:00
Amir
017f5bfb51
feat(HMS-3391): add blueprint onclick handler
2024-01-25 09:28:34 +01:00
dependabot[bot]
dca9225df5
build(deps): bump @patternfly/react-table from 5.0.1 to 5.1.2
...
Bumps [@patternfly/react-table](https://github.com/patternfly/patternfly-react ) from 5.0.1 to 5.1.2.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@5.0.1...@patternfly/react-table@5.1.2 )
---
updated-dependencies:
- dependency-name: "@patternfly/react-table"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-25 09:05:37 +01:00
lucasgarfield
0f75f4862a
Tests: Disable repository related tests
...
Disable tests related to custom repos temporarily while that feature is
unavailable.
2024-01-24 21:13:09 +01:00
lucasgarfield
48da0a79ec
Wizard: Enable unavailable message for repositories
...
Repositories will be unavailable for the next few days.
2024-01-24 21:13:09 +01:00
lucasgarfield
531369276c
ImagesTable: Add error state
...
It is important we have an error state for times that we may need to
bring the image builder service down for whatever reason.
2024-01-24 20:09:42 +01:00
dependabot[bot]
d986b80883
build(deps-dev): bump copy-webpack-plugin from 11.0.0 to 12.0.2
...
Bumps [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin ) from 11.0.0 to 12.0.2.
- [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/v11.0.0...v12.0.2 )
---
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>
2024-01-24 16:13:39 +01:00
dependabot[bot]
4bc6291ac1
build(deps-dev): bump sass-loader from 13.3.2 to 14.0.0
...
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader ) from 13.3.2 to 14.0.0.
- [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/v13.3.2...v14.0.0 )
---
updated-dependencies:
- dependency-name: sass-loader
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-24 15:21:08 +01:00
mgold1234
c4e1709de8
V2Wizard: add oscap to wizard2
...
This adds the OpenSCAP step to the V2Wizard,
adds new values to the wizardSlice and enables relevant tests in the `CreateImageWizard.test.tsx` test suite
2024-01-24 13:36:04 +01:00
regexowl
c7a80d0e85
node: Bump NODE_BUILD_VERSION
...
This bumps NODE_BUILD_VERSION in `build_deploy` and `pr_check` scripts from the default 16 to version 18.
2024-01-24 11:44:39 +01:00
Ondrej Ezr
25144511ad
api: split pulling API changes and regenerating new API
...
For checking wether the api was tempered with, we need separate action,
that just checks the code against the currently pulled spec.
This introduces two subactions for `npx api`.
These are `npx api:generate` and `npx api:pull`.
2024-01-23 12:39:32 +01:00
lucasgarfield
82e096a19c
Travis: Remove Travis CI
...
We have replaced the Travis CI with a Github action, `dev-checks.yml`.
Travis is less reliable than the Github dev checks, recently it has been
flaking on timeouts. Additionally, removing it will allow us to move the
owner of the image-builder-frontend repository from RedHatInsights to
osbuild.
2024-01-22 16:37:35 +01:00
lucasgarfield
46ac78b1de
api: update image builder api via npm run api
...
There have been some recent updates to the /experimental/ routes related
to blueprints, this commit pulls them in.
2024-01-22 15:31:33 +01:00
lucasgarfield
7982ec4981
api: Modify api.sh so it downloads image builder api spec
...
Use curl to download `api.yaml` from `osbuild/image-builder` in
`api.sh`.
Now we do not need to manually download `api.yaml` from `image-builder`
before running `npm run api`.
2024-01-22 15:31:33 +01:00
lucasgarfield
819863835b
LandingPage: Hotfix to remove exposed blueprint buttons
...
Commit bae6435fd9 adds scaffolding for the
blueprint table. Blueprint features should be hidden behind experimental
flags. The new buttons related to creating blueprints and rebuilding
images in the header were not hidden behind the experimental flag, this
commit fixes that and does so.
bae6435fd9 also changed the header title
from "Image Builder" to "Images". This change has been a long time
coming - it is being left in for now. We may want to revisit the copy in
the popovers to align it as the term "Image Builder" is still being used
in those.
2024-01-22 10:06:40 +01:00
dependabot[bot]
86e75f525b
build(deps-dev): bump @testing-library/dom from 9.3.3 to 9.3.4
...
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library ) from 9.3.3 to 9.3.4.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases )
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v9.3.3...v9.3.4 )
---
updated-dependencies:
- dependency-name: "@testing-library/dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 08:52:29 +01:00
Amir
c2e7c34d6e
feat(HMS-3386): add blueprints initial layout
2024-01-19 17:20:21 +01:00
regexowl
0982cbe8db
test: Update tests
...
After bumping redux from 4.2.1 to 5.0.1 and @reduxjs/toolkit from 1.9.5 to 2.0.1 some tests started to fail. Added async logic solves the issue.
2024-01-19 10:23:02 +01:00
regexowl
fdad6adb92
deps: Bump redux and @reduxjs/toolkit
...
This bumps redux from version 4.2.1 to 5.0.1 and @reduxjs/toolkit from 1.9.5 to 2.0.1
2024-01-19 10:23:02 +01:00
regexowl
2a9fcd7470
Wizard: Indicate disabled packages
...
When a package is added to the chosen packages it stays in the list of available packages, but gets disabled as an option.
This adds a visual indication in a form of greyed out name of the package.
2024-01-19 09:47:46 +01:00
dependabot[bot]
3db7995194
build(deps-dev): bump @typescript-eslint/parser from 6.18.1 to 6.19.0
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 6.18.1 to 6.19.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.19.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>
2024-01-19 08:47:34 +01:00
dependabot[bot]
dc747eaefa
build(deps): bump @scalprum/react-core from 0.5.1 to 0.6.6
...
Bumps [@scalprum/react-core](https://github.com/scalprum/scaffloding ) from 0.5.1 to 0.6.6.
- [Release notes](https://github.com/scalprum/scaffloding/releases )
- [Changelog](https://github.com/scalprum/scaffolding/blob/main/release.config.js )
- [Commits](https://github.com/scalprum/scaffloding/commits/@scalprum/react-core-0.6.6 )
---
updated-dependencies:
- dependency-name: "@scalprum/react-core"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-18 08:40:46 +01:00
regexowl
f90718815b
test: Replace .getBy queries by awaited .findBy
...
Components sometimes render slower than tests run which causes failures when the test suite expects elements that did not finish their rendering yet.
This should help to prevent most of possible problems with the rendering speed.
2024-01-17 17:19:57 +01:00
regexowl
7b61700c06
V2Wizard: Enable tests for the Registration step
...
This re-enables all the tests that are checking the behavior of the Registration step.
2024-01-17 09:33:13 +01:00
regexowl
360984df7c
V2Wizard: Add components to the Registration step
...
This migrates all the needed components from Javascript and DDF to Typescript and RTK.
New slices were added for registration type and activation key.
Disabling the "Next" button should work correctly now.
2024-01-17 09:33:13 +01:00
regexowl
9ce438295d
V2Wizard: Create a folder for Registration step and copy needed components
...
This created a new folder for the Registration step and copies components that will be needed:
- ActivationKeyInformation.tsx
- ActivationKeys.tsx
- Registration.tsx
- RegistrationKeyInformation.tsx
2024-01-17 09:33:13 +01:00
dependabot[bot]
1706448670
build(deps-dev): bump @types/react from 18.2.36 to 18.2.48
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.2.36 to 18.2.48.
- [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-01-17 08:50:36 +01:00
lucasgarfield
d26a7658db
V2Wizard: Fix wizard initializeWizard action
...
Fixes #1552 .
The wizardSlice's initializeWizard action was not working because when it
was passed to `dispatch()` as an argument it was missing the `()`...
oops!
It also needs to be dispatched inside of a useEffect hook with an empty
dependency array so that it is only dispatched once, when the wizard
opens.
2024-01-16 17:23:22 +01:00
dependabot[bot]
14d80945e7
build(deps-dev): bump moment from 2.29.4 to 2.30.1
...
Bumps [moment](https://github.com/moment/moment ) from 2.29.4 to 2.30.1.
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/moment/moment/compare/2.29.4...2.30.1 )
---
updated-dependencies:
- dependency-name: moment
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-16 09:00:07 +01:00
regexowl
55686cc844
V2Wizard: Improve validators
...
Follow up to https://github.com/RedHatInsights/image-builder-frontend/pull/1548
This cleans up implementation for the AWS account ID ad GCP e-mail validators.
2024-01-15 17:37:28 +01:00
lucasgarfield
3ed2192358
V2Wizard: Enable GCP tests
...
All tests passing except when required to move to registration step as
it has not been implemented yet.
2024-01-15 16:42:28 +01:00
lucasgarfield
ce23667833
V2Wizard: Add datatest-id support to <ValidatedTextInput>
...
Adds a `dataTestId` prop to the `<ValidatedTextInput>`.
2024-01-15 16:42:28 +01:00
lucasgarfield
698037a7dc
V2Wizard: Uncomment relevant GCP tests and add data-testids
...
The tests have not been modified at this point, only uncommented, so the
next commit will have a clear diff.
Some data-testids were added to radio selectors and the Google principle
input as well for use in the tests.
2024-01-15 16:42:28 +01:00
lucasgarfield
5a3726a4c8
V2Wizard: Update GCP validator and state management
...
The e-mail validator now requires a domain.
Switching from 'withGoogle' to 'withInsights' now sets the other GCP
related options to 'undefined' in order to keep the store state such
that it accurately reflects the current wizard state.
This is done in the reducer, not via a listener. That is a bit
inconsistent with the current listeners in place but this is an evolving
design and the inconsistency is acceptable for now. We may either accept
it, move the reducer actions here into listeners, or move the existing
listeners into reducers at some point in the future.
2024-01-15 16:42:28 +01:00
lucasgarfield
7c8cfe7f63
V2Wizard: Add <Gcp> step
...
`<Aws>` state is now managed with RTK instead of DDF.
2024-01-15 16:42:28 +01:00
dependabot[bot]
2caa1e8f72
build(deps-dev): bump @typescript-eslint/parser from 6.13.0 to 6.18.1
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 6.13.0 to 6.18.1.
- [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.18.1/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>
2024-01-15 08:59:21 +01:00
mgold1234
3f51acdb85
Oscap: convert oscap javaScript file to typeScript file
...
this commit convert oscap file from JavaScript to TypeScript
2024-01-12 13:12:33 +01:00
dependabot[bot]
ad2a6151e1
build(deps-dev): bump @types/react-dom from 18.2.17 to 18.2.18
...
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ) from 18.2.17 to 18.2.18.
- [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>
2024-01-12 08:51:12 +01:00