Sanne Raymaekers
c0801cd73d
src/test: Add test for HyperV generation
2024-12-04 12:37:23 +01:00
Sanne Raymaekers
c1378a7913
Wizard: Integrate HyperV selection in Azure target options
...
This determines the generation the image will get registered as in
Azure. V2 supports UEFI and more instance types than V1.
2024-12-04 12:37:23 +01:00
Sanne Raymaekers
b4e7fe8923
Wizard: Add component to select Azure HyperV generation
2024-12-04 12:37:23 +01:00
Simon Steinbeiss
c4a06e2ac9
CreateImageWizard: Add RHEL10beta search parameter
...
This means we can easily link to the wizard and pre-select RHEL 10 Beta
which will be nice for the release announcement blog post.
2024-11-29 14:22:37 +01:00
Ondrej Ezr
a99c26143e
api: update imagebuilder schema
2024-11-28 09:01:08 +01:00
Ondřej Ezr
f270139ec1
ImagesTable: add RHEL 9.5 display value
2024-11-28 09:01:08 +01:00
Sanne Raymaekers
ee19ba1546
Wizard: rely on feature flag constraints for openscap step title
...
Feature flags can be constrained to preview / stable.
2024-11-27 13:49:30 +01:00
Anna Vítová
70462be0b7
Wizard: add more tests for on prem filesystem
2024-11-26 17:12:48 +01:00
Anna Vítová
80f7980676
Wizard: add suport for json on prem
2024-11-26 17:12:48 +01:00
Anna Vítová
b2401afe27
src: add flag to measure on prem import
...
The flag can be used later to track the usage of on prem import feature.
2024-11-26 13:03:55 +01:00
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
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
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
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
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
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
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
Michal Gold
176c64dd47
Wizard: Add Users step to the wizard (HMS-4902)
...
This commit adds a new step 'Users' that is enabled only in stage-preview,
and will enable it in stage-stable once IQE tests are ready.
The step is not functional yet, this is just the first step.
2024-11-08 00:26:26 +01:00
regexowl
b83ee20541
devDeps: Manually bump msw from 2.4.10 to 2.6.0
...
This bumps bump msw from 2.4.10 to 2.6.0
2024-11-06 16:23:32 +01:00
regexowl
c2926ff147
devDeps: Manually bump @rtk-query/codegen-openapi
...
This bumps @rtk-query/codegen-openapi from 1.2.0 to 2.0.0
2024-11-06 13:45:34 +01:00
regexowl
b84be929bb
test: Add "VMware checkbox select and unselect works" test
...
This adds a new test to check functionality of the bug fix.
2024-11-04 08:44:35 -06:00
regexowl
79a4e98d0e
Wizard: Fix VMware select and unselect
...
This updates the behaviour of VMware checkbox to make it possible to unselect VMware as a target.
How to reproduce:
1. select VMware vSphere checkbox
2. click on Virtual disk radio
3. try to unselect VMware vSphere checkbox
Previous behaviour - the checkbox can't be unselected
New behaviour - the checkbox can be unselected, removing relevant type of VMware target from imageTypes
2024-11-04 08:44:35 -06:00
regexowl
edc4a70c25
devDeps: Manual bump msw from 2.4.9 to 2.4.10
...
Bumps msw from 2.4.9 to 2.4.10.
2024-11-01 14:59:42 -05:00
regexowl
10f2669827
Wizard: Move VMware radios into VMware checkbox
...
This moves the VMware radios into the body of VMware checkbox, following PatternFly's pattern of parent and child checkboxes / form elements: https://www.patternfly.org/components/forms/checkbox#controlled
2024-11-01 12:34:52 -05:00
Michal Gold
830e22fcdc
updating useFlag to omit feature flag from onPrem env
2024-10-30 10:36:18 -05:00
Gianluca Zuccarelli
41cdc7d553
ImageTable: use dynamic get blueprints hook
...
Export a dynamic query hook depending on which backend is
being used (service or on-prem). This means we can just import
a query from the new `backendApi` and it will work for both
on-prem and the service.
2024-10-30 10:36:18 -05:00
Michal Gold
f13ee49565
store: add initial cockpit store
...
Co-authored-by: Gianluca Zuccarelli <gzuccare@redhat.com>
2024-10-30 10:36:18 -05:00
Michal Gold
82f3f38e56
cockpit: add webpack config and support for Cockpit
...
Configured Webpack and setup of cockpit to support
building and running image builder as a cockpit plugin
(On-premise)
2024-10-30 10:36:18 -05:00
Sanne Raymaekers
6ab32d1555
Wizard: use oscap profiles from major version for beta versions
2024-10-29 15:25:32 -05:00
Sanne Raymaekers
692b6f1595
Wizard: only show compliance radio in preview
...
Let's expose compliance in preview while we're ironing out the creases.
2024-10-27 10:49:27 +02:00
Ondřej Budai
0bebb87ec0
src: remove osbuild-first-boot.target from first boot
...
I grepped through everything and didn't find this target. I'm pretty
sure that it doesn't exist, osbuild-composer adds just a service.
2024-10-25 11:32:07 +02:00
Ondřej Budai
12da2f7c43
src: move the first boot service into constants.ts
...
I don't think there's a value in having the unit encoded in base64.
It looks fishy, and it's error prone. We discovered that the
custom-first-boot.service file in aux was different than the base64-
encoded string. There was nothing malicious, but we apparently forgot
to rerun the Makefile target.
Instead, we can just put the raw script into constants.js and base64-
encode it on the fly. The cost is close to zero.
This way, we can also get rid of the aux dir, and of the Makefile
target. 🧹
2024-10-25 11:32:07 +02:00
Sanne Raymaekers
493649f766
Wizard: fix editing RHEL 9 beta blueprints
...
It would default to RHEL 9 instead of the beta.
2024-10-24 12:00:22 +02:00