Wizard: Add 3rd Party Repositories
Adds support for 3rd party repositories using the Red Hat Insights Repositories app on console.redhat.com. The packages step has been refactored heavily to reduce the bug surface area and improve its reusability (it is now used in two Wizard steps). New features related to the Repositories app are currently only exposed in stage. Because stage and production are quite divergent (they have different steps, for instance) there are separate test suites for the production and stage versions of the Wizard. When these features are moved into production, the two test suites can be merged into one.
This commit is contained in:
parent
3cad570606
commit
5adc0e7d4a
16 changed files with 2227 additions and 342 deletions
|
|
@ -13,9 +13,13 @@ import CentOSAcknowledgement from './formComponents/CentOSAcknowledgement';
|
|||
import FileSystemConfigToggle from './formComponents/FileSystemConfigToggle';
|
||||
import FileSystemConfiguration from './formComponents/FileSystemConfiguration';
|
||||
import ImageOutputReleaseSelect from './formComponents/ImageOutputReleaseSelect';
|
||||
import Packages from './formComponents/Packages';
|
||||
import {
|
||||
ContentSourcesPackages,
|
||||
RedHatPackages,
|
||||
} from './formComponents/Packages';
|
||||
import RadioWithPopover from './formComponents/RadioWithPopover';
|
||||
import RegistrationKeyInformation from './formComponents/RegistrationKeyInformation';
|
||||
import Repositories from './formComponents/Repositories';
|
||||
import Review from './formComponents/ReviewStep';
|
||||
import TargetEnvironment from './formComponents/TargetEnvironment';
|
||||
|
||||
|
|
@ -46,9 +50,12 @@ const ImageCreator = ({
|
|||
output: TargetEnvironment,
|
||||
select: Select,
|
||||
'package-selector': {
|
||||
component: Packages,
|
||||
component: RedHatPackages,
|
||||
defaultArch,
|
||||
},
|
||||
'package-selector-content-sources': {
|
||||
component: ContentSourcesPackages,
|
||||
},
|
||||
'radio-popover': RadioWithPopover,
|
||||
'azure-auth-button': AzureAuthButton,
|
||||
'activation-keys': ActivationKeys,
|
||||
|
|
@ -57,6 +64,7 @@ const ImageCreator = ({
|
|||
'file-system-configuration': FileSystemConfiguration,
|
||||
'image-output-release-select': ImageOutputReleaseSelect,
|
||||
'centos-acknowledgement': CentOSAcknowledgement,
|
||||
'repositories-table': Repositories,
|
||||
...customComponentMapper,
|
||||
}}
|
||||
onCancel={onClose}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue