Commit graph

2544 commits

Author SHA1 Message Date
dependabot[bot]
05e112a913 build(deps-dev): bump redux-mock-store from 1.5.4 to 1.5.5
Bumps [redux-mock-store](https://github.com/arnaudbenard/redux-mock-store) from 1.5.4 to 1.5.5.
- [Release notes](https://github.com/arnaudbenard/redux-mock-store/releases)
- [Commits](https://github.com/arnaudbenard/redux-mock-store/compare/v1.5.4...v1.5.5)

---
updated-dependencies:
- dependency-name: redux-mock-store
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-06 09:52:17 +01:00
Lucas Garfield
1093fd592a Konflux: Add rpms-signature-scan task (HMS-4948)
Resolves HMS-4948. This task is mandatory as of November 1, 2024.
2024-11-04 13:09:06 -06:00
red-hat-konflux[bot]
1fcb09dc3f chore(deps): update konflux references
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2024-11-04 21:02:07 +02: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
dependabot[bot]
27db0e1a03 build(deps): bump @sentry/browser and @redhat-cloud-services/frontend-components-utilities
Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) to 7.119.2 and updates ancestor dependency [@redhat-cloud-services/frontend-components-utilities](https://github.com/RedHatInsights/frontend-components). These dependencies need to be updated together.


Updates `@sentry/browser` from 5.30.0 to 7.119.2
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/7.119.2/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/5.30.0...7.119.2)

Updates `@redhat-cloud-services/frontend-components-utilities` from 4.0.17 to 4.0.19
- [Commits](https://github.com/RedHatInsights/frontend-components/commits)

---
updated-dependencies:
- dependency-name: "@sentry/browser"
  dependency-type: indirect
- dependency-name: "@redhat-cloud-services/frontend-components-utilities"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-04 10:30:45 +02:00
dependabot[bot]
7074d4213c build(deps-dev): bump uuid from 10.0.0 to 11.0.2
Bumps [uuid](https://github.com/uuidjs/uuid) from 10.0.0 to 11.0.2.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v10.0.0...v11.0.2)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-04 09:23:12 +02: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
Lucas Garfield
555116122f chore: drop unused Makefile bits 2024-11-01 09:53:38 -05:00
dependabot[bot]
e24a3024aa build(deps-dev): bump @testing-library/jest-dom from 6.5.0 to 6.6.3
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.5.0 to 6.6.3.
- [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.5.0...v6.6.3)

---
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-11-01 07:49:21 -05:00
dependabot[bot]
7f144e4d7e build(deps-dev): bump @babel/core from 7.25.8 to 7.26.0
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.25.8 to 7.26.0.
- [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.26.0/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-01 00:21:25 +02:00
dependabot[bot]
e9a58c70a9 build(deps): bump @patternfly/react-table from 5.4.1 to 5.4.9
Bumps [@patternfly/react-table](https://github.com/patternfly/patternfly-react) from 5.4.1 to 5.4.9.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@5.4.1...@patternfly/react-table@5.4.9)

---
updated-dependencies:
- dependency-name: "@patternfly/react-table"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-30 22:43:51 +02:00
Lucas Garfield
c833e5f01b Konflux: Add ci.sh with workaround for Konflux pipeline
The Konflux pipeline clones the repo twice, making a nested clone
under ./source/source which causes webpack to break when the Cockpit
webpack configuration is present. `source ci.sh` is run at the
beginning of the Konflux pipeline and as a workaround for now we
simply remove everything related to Cockpit - this is fine as none of
it is needed for the service to run.
2024-10-30 10:36:18 -05:00
Michal Gold
830e22fcdc updating useFlag to omit feature flag from onPrem env 2024-10-30 10:36:18 -05:00
Michal Gold
522d61447e README: update README file with cockpit changes
add instruction how to build and install cockpit for On-prem environment
2024-10-30 10:36:18 -05:00
Michal Gold
28ba4af814 Makefile: add Makefile for building and installing cockpit plugin
Add some targets to the Makefile so we can install the on-prem frontend
as a cockpit plugin. based on starter-kit project
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
red-hat-konflux[bot]
1ab31abc4a chore(deps): update konflux references
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2024-10-29 23:49:39 +01:00
Sanne Raymaekers
6ab32d1555 Wizard: use oscap profiles from major version for beta versions 2024-10-29 15:25:32 -05:00
Michal Gold
c4170102cd update main branch with changes in the api
run `npm run api` to update the main branch
2024-10-29 18:16:23 +02:00
dependabot[bot]
6458764c01 build(deps-dev): bump chartjs-plugin-annotation from 3.0.1 to 3.1.0
Bumps [chartjs-plugin-annotation](https://github.com/chartjs/chartjs-plugin-annotation) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/chartjs/chartjs-plugin-annotation/releases)
- [Commits](https://github.com/chartjs/chartjs-plugin-annotation/compare/v3.0.1...v3.1.0)

---
updated-dependencies:
- dependency-name: chartjs-plugin-annotation
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-29 14:35:07 +02:00
dependabot[bot]
8ac0cc69d1 build(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 8.8.1 to 8.12.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.12.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-29 12:15:20 +02:00
dependabot[bot]
1614d4582c build(deps): bump @patternfly/patternfly from 5.4.1 to 6.0.0
Bumps [@patternfly/patternfly](https://github.com/patternfly/patternfly) from 5.4.1 to 6.0.0.
- [Release notes](https://github.com/patternfly/patternfly/releases)
- [Changelog](https://github.com/patternfly/patternfly/blob/main/release.config.js)
- [Commits](https://github.com/patternfly/patternfly/compare/v5.4.1...v6.0.0)

---
updated-dependencies:
- dependency-name: "@patternfly/patternfly"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 17:32:30 +02:00
dependabot[bot]
3f91fb86e2 build(deps-dev): bump @types/react-dom from 18.3.0 to 18.3.1
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.3.0 to 18.3.1.
- [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-10-27 16:47:29 +02:00
dependabot[bot]
cc2fabc984 build(deps): bump react-router-dom from 6.26.2 to 6.27.0
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.26.2 to 6.27.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/react-router-dom@6.27.0/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.27.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>
2024-10-27 12:50:47 +02: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
Sanne Raymaekers
c65d924b1a .tekton: disable rpms-signature-scan
Some rpms pulled in during the frontend build aren't signed in, these
are pulled in by frontend-operator.

The steps will be added automatically once fixed.
2024-10-18 18:58:24 +02:00
Sanne Raymaekers
5ff8605487 .tekton: adjust tekton pipelines to generate dockerfile
For frontends the dockerfile needs to be generated during the pipeline,
as there's no upstream dockerfile.
2024-10-18 18:58:24 +02:00
Sanne Raymaekers
c95c060e24 renovate.json: configure Konflux updates
The renovate.json file determines how often Konflux will open PRs to
update the tekton configs.

See #2524.
2024-10-18 18:58:24 +02:00
red-hat-konflux
63dfbac6ae Red Hat Konflux update image-builder-frontend
Signed-off-by: red-hat-konflux <konflux@no-reply.konflux-ci.dev>
2024-10-18 18:58:24 +02:00
Sanne Raymaekers
15a7115eec Wizard: move RHEL 9 beta out of preview 2024-10-17 21:45:12 +02:00
Sanne Raymaekers
c9e5f9630b .github/workflows: run dev checks on main
The codecov comments don't make much sense as there's no reference point
currently.
2024-10-17 20:46:38 +02:00
Sanne Raymaekers
cd70d1ff95 Wizard: add RHEL 9 beta
Only exposed in preview.
2024-10-17 10:22:30 +02:00
Sanne Raymaekers
25f9fac059 store: regenerate image builder api
Includes rhel-9-beta distro.
2024-10-17 10:22:30 +02:00
Lukas Zapletal
17170b7495 src: update custom firstboot service for bootc 2024-10-15 08:48:01 +02:00
Lukas Zapletal
562a8c574e src: extract service file into separate file 2024-10-15 08:48:01 +02:00
regexowl
8722d79fdf test: Move and re-enabled Details test
There was a disabled Details test in CreateImageWizard.test.tsx, this moves the test to Details.test.tsx, updates it and enables it again.

The re-enabled tests are checking maximum length of image name and description.
2024-10-14 13:50:36 +03:00
Lukáš Zapletal
38cc047e27 readme: add links 2024-10-14 10:47:26 +02:00
regexowl
b5eab82318 workflows: Add check for circular dependencies
This adds a check for circular dependencies into dev-check, to make sure we don't introduce new problems in the future.
2024-10-11 14:55:03 +02:00
regexowl
46b6fda9db src: Resolve last remaining circular dependency
Nothing added, nothing removed, stuff moved around a bit.
2024-10-11 14:55:03 +02:00
regexowl
ba9282b61c src: Resolve circular dependency FileSystemTable <-> FileSystemConfiguration
Nothing got added, nothing got removed. Stuff just got moved around and imports are updated.
2024-10-11 14:55:03 +02:00
regexowl
076fb3fc9d src: Resolve type-only imports 2024-10-11 14:55:03 +02:00
regexowl
c1edc53c2f devDeps: Install madge
This installs [madge](https://www.npmjs.com/package/madge), a tool for finding circular dependencies. A config file is also added to ignore type-only imports.
2024-10-11 14:55:03 +02:00
dependabot[bot]
14ec62ae8f build(deps-dev): bump sass from 1.79.4 to 1.79.5
Bumps [sass](https://github.com/sass/dart-sass) from 1.79.4 to 1.79.5.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.79.4...1.79.5)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-11 08:08:22 +02:00