Gianluca Zuccarelli
a6eadbffac
playwright: add an aws upload test
...
Create a blueprint configured for AWS and make sure it shows up in
the images table when it is built.
2025-07-23 08:58:26 +00:00
Gianluca Zuccarelli
8af4181ae9
store/cockpitApi: refactor /compose endpoint
...
The on-prem `/compose` endpoint needs to know about two different
compose requests. The image-builder-crc compose request gets saved to
the frontend's local storage. While a different request gets sent to
osbuild's cloudapi. This commit tidy's up and refactors the code in the
/compose endpoint in the cockpit api.
2025-07-23 08:58:26 +00:00
Gianluca Zuccarelli
3a9e3aa200
requestMapper: add region to aws upload type
...
The on-prem backend needs the aws region in order to upload the ami
target to aws. In order to do this, we use some specific cockpit types
that contain the region field, meaning that requests to image-builder-crc
should be unchanged. This is essentialy the wiring commit to get this
functionality into the `/composes` endpoint for on-prem.
2025-07-23 08:58:26 +00:00
Gianluca Zuccarelli
4339420cb8
Wizard: add region selector for on-prem AWS
...
We need to be able to select the region for AWS targets in the frontend
image builder. This commit adds the field to the wizard, but doesn't
wire this up to the api call just yet.
2025-07-23 08:58:26 +00:00
Gianluca Zuccarelli
fe5abaeb45
Table: fix the image table status for on prem aws uploads
...
We need to make some minor tweaks to get this to show properly for the
on-prem frontend.
2025-07-23 08:58:26 +00:00
Gianluca Zuccarelli
c88171da19
cockpit: add cockpit image request types
...
Update the types to include some cockpit specific fields to the
image requests. We could also update the image-builder-crc api
openapi specs, but this would need further discussion
2025-07-23 08:58:26 +00:00
Gianluca Zuccarelli
2f765a1d4b
multi: fix analytics for on-prem
...
This commit fixes some more analytics calls happening in the on-prem
frontend.
2025-07-23 08:58:26 +00:00
Gianluca Zuccarelli
2ce62d4ef0
store/cockpitApi: enable aws image types
2025-07-23 08:58:26 +00:00
Gianluca Zuccarelli
253317497e
CreateImageWizard: hide aws sources for on-prem
...
For now just allow manual entry of the aws account id, since we aren't
able to configure sources on-premise yet (if ever).
2025-07-23 08:58:26 +00:00
dependabot[bot]
8dd82d5801
build(deps): bump @sentry/webpack-plugin from 3.6.1 to 4.0.0
...
Bumps [@sentry/webpack-plugin](https://github.com/getsentry/sentry-javascript-bundler-plugins ) from 3.6.1 to 4.0.0.
- [Release notes](https://github.com/getsentry/sentry-javascript-bundler-plugins/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/main/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript-bundler-plugins/compare/3.6.1...4.0.0 )
---
updated-dependencies:
- dependency-name: "@sentry/webpack-plugin"
dependency-version: 4.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-23 08:37:17 +00:00
schutzbot
33d3a02ee5
Post release version bump
...
[skip ci]
2025-07-23 08:40:00 +00:00
dependabot[bot]
1621042a08
build(deps): bump @patternfly/react-table from 6.1.0 to 6.3.0
...
Bumps [@patternfly/react-table](https://github.com/patternfly/patternfly-react ) from 6.1.0 to 6.3.0.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@6.1.0...@patternfly/react-table@6.3.0 )
---
updated-dependencies:
- dependency-name: "@patternfly/react-table"
dependency-version: 6.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-23 07:04:59 +00:00
dependabot[bot]
786b334573
build(deps): bump @patternfly/patternfly from 6.1.0 to 6.3.0
...
Bumps [@patternfly/patternfly](https://github.com/patternfly/patternfly ) from 6.1.0 to 6.3.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/v6.1.0...v6.3.0 )
---
updated-dependencies:
- dependency-name: "@patternfly/patternfly"
dependency-version: 6.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-23 06:50:20 +00:00
dependabot[bot]
c67eefbe25
build(deps): bump form-data from 4.0.1 to 4.0.4
...
Bumps [form-data](https://github.com/form-data/form-data ) from 4.0.1 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases )
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md )
- [Commits](https://github.com/form-data/form-data/compare/v4.0.1...v4.0.4 )
---
updated-dependencies:
- dependency-name: form-data
dependency-version: 4.0.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-22 13:42:19 +00:00
regexowl
520b94099e
Wizard: Fix stuck page for package search
...
Fixes #3381
This resets the paging to page 1 when search term is updated.
2025-07-22 11:33:36 +00:00
regexowl
4fe4872be4
devDeps: Bump msw from 2.10.3 to 2.10.4
...
This bumps msw from 2.10.3 to 2.10.4
2025-07-22 10:51:34 +00:00
regexowl
f40e67a98a
devDeps: Bump typecript deps
...
This bumps @typescript-eslint/eslint-plugin and @typescript-eslint/parser to version 8.38.0, the dependencies need to be bumped together.
2025-07-22 08:53:06 +00:00
dependabot[bot]
69751cba1a
build(deps): bump @sentry/webpack-plugin from 3.5.0 to 3.6.1
...
Bumps [@sentry/webpack-plugin](https://github.com/getsentry/sentry-javascript-bundler-plugins ) from 3.5.0 to 3.6.1.
- [Release notes](https://github.com/getsentry/sentry-javascript-bundler-plugins/releases )
- [Changelog](https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/main/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-javascript-bundler-plugins/compare/3.5.0...3.6.1 )
---
updated-dependencies:
- dependency-name: "@sentry/webpack-plugin"
dependency-version: 3.6.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-22 08:05:40 +00:00
dependabot[bot]
06a5db21e0
build(deps-dev): bump typescript-eslint from 8.37.0 to 8.38.0
...
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint ) from 8.37.0 to 8.38.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.38.0/packages/typescript-eslint )
---
updated-dependencies:
- dependency-name: typescript-eslint
dependency-version: 8.38.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-22 07:16:24 +00:00
dependabot[bot]
016cf0b4f3
build(deps-dev): bump @vitejs/plugin-react from 4.6.0 to 4.7.0
...
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react ) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases )
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@4.7.0/packages/plugin-react )
---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
dependency-version: 4.7.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-21 10:30:04 +00:00
dependabot[bot]
654458c12d
build(deps-dev): bump stylelint from 16.21.1 to 16.22.0
...
Bumps [stylelint](https://github.com/stylelint/stylelint ) from 16.21.1 to 16.22.0.
- [Release notes](https://github.com/stylelint/stylelint/releases )
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint/stylelint/compare/16.21.1...16.22.0 )
---
updated-dependencies:
- dependency-name: stylelint
dependency-version: 16.22.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-21 09:59:35 +00:00
red-hat-konflux[bot]
49fef039c0
chore(deps): update konflux references
...
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-07-21 09:27:02 +00:00
regexowl
e657b88bfc
src: Fix status text color
...
The `className` for text color was changed in PF6, this updates it in relevant places.
2025-07-21 07:54:20 +00:00
dependabot[bot]
cdca105c97
build(deps-dev): bump typescript-eslint from 8.35.1 to 8.37.0
...
---
updated-dependencies:
- dependency-name: typescript-eslint
dependency-version: 8.37.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-18 11:17:15 +00:00
dependabot[bot]
78ea07d777
build(deps): bump on-headers and compression
...
---
updated-dependencies:
- dependency-name: on-headers
dependency-version: 1.1.0
dependency-type: indirect
- dependency-name: compression
dependency-version: 1.8.1
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-18 10:50:48 +00:00
dependabot[bot]
c550ba1ae8
build(deps-dev): bump @typescript-eslint/parser from 8.36.0 to 8.37.0
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 8.36.0 to 8.37.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/v8.37.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-version: 8.37.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-18 10:26:08 +00:00
Katarina Sieklova
d03f41f160
Wizard: Make the blueprint name unclickable after filtering
...
Fixes #3419
2025-07-17 14:06:48 +00:00
regexowl
0373a55f8c
dependabot: Lower limit for number of open PRs
...
We no longer have dependency bumps "stuck" in the limbo. Let's lower the limit again as we're not overwhelmed by new dependabot PRs.
2025-07-17 12:59:03 +00:00
dependabot[bot]
eeae4f9467
build(deps-dev): bump @currents/playwright from 1.15.1 to 1.15.2
...
---
updated-dependencies:
- dependency-name: "@currents/playwright"
dependency-version: 1.15.2
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-17 06:49:37 +00:00
dependabot[bot]
4c04f2dc54
build(deps-dev): bump eslint-plugin-testing-library from 7.5.4 to 7.6.0
...
Bumps [eslint-plugin-testing-library](https://github.com/testing-library/eslint-plugin-testing-library ) from 7.5.4 to 7.6.0.
- [Release notes](https://github.com/testing-library/eslint-plugin-testing-library/releases )
- [Changelog](https://github.com/testing-library/eslint-plugin-testing-library/blob/main/.releaserc.json )
- [Commits](https://github.com/testing-library/eslint-plugin-testing-library/compare/v7.5.4...v7.6.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-testing-library
dependency-version: 7.6.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-17 06:42:45 +00:00
dependabot[bot]
10ff517ab0
build(deps-dev): bump @eslint/js from 9.30.1 to 9.31.0
...
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js ) from 9.30.1 to 9.31.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/commits/v9.31.0/packages/js )
---
updated-dependencies:
- dependency-name: "@eslint/js"
dependency-version: 9.31.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-16 07:32:01 +00:00
regexowl
25a5f140d8
ESLint: Add rule to sort imports alphabetically
...
The `import/order` rule isn't enough to sort import within a single import group alphabetically.
This adds `sort-imports` rule that handles the sorting within groups.
2025-07-15 16:52:45 +00:00
regexowl
91b2cc2d10
ESLint: Add rule for duplicate imports
...
We had decent amount of import groups split into several imports, this adds a rule to output error when there's a duplicate import.
2025-07-15 16:52:45 +00:00
regexowl
a0fe3644c3
src: Remove more data-testids
...
As using `data-testid`s in tests is an anti-pattern, this removes more of them and replaces them with appropriate locators in the tests.
2025-07-15 16:51:29 +00:00
regexowl
0ea874abc6
Wizard: Fix dropdown behaviour on "Enter"
...
The page refreshed when pressing "Enter" while in the dropdown input. This fixes the behaviour.
If the dropdown's closed, "Enter" will open the options, if there's an input value that perfectly matches one of the activation keys, it gets selected.
The order of functions was also slightly cleaned up so they're all in one place after `useEffect`s.
2025-07-15 14:41:52 +00:00
regexowl
2406d14304
Wizard: Update activation keys dropdown
...
This updates key dropdown's helper text to match recent mocks.
Also checked other criteria:
- the input is clearable
- current selection is marked with a check in the list of options
2025-07-15 14:41:52 +00:00
Katarina Sieklova
c2e94100db
Wizard: bring back invlaid group testing in users
2025-07-15 13:47:37 +00:00
Florian Schüller
ccfdb49db2
CreateImageWizard: Implement user-friendly error messages
...
Puts the error messages in one place - LabelInput.tsx
2025-07-15 13:47:37 +00:00
regexowl
3f35101f68
Migrate ESLint to v 9.x
...
This bumps needed dependencies and migrates previously used ESLint configs to the new flat config schema.
2025-07-15 13:39:36 +00:00
regexowl
10a40aaec4
Wizard: Move org ID into a copy-able field
...
This moves the org ID into a copy-able field and updates the permanent info as per mocks.
The popover that previously included the org ID is removed from mocks.
2025-07-15 13:27:46 +00:00
Gianluca Zuccarelli
c9d721ea52
playwright: add a test for cockpit cloud config
...
SSIA
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
0b0171bb87
cloudConfig: add a popover for creds path
...
Add a popover to give more information on the aws credentials
path.
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
1ed4380bfc
cloudConfig: restart worker on submit
...
Restart osbuild-composer and the worker after updating the config, this
is a necessary step for osbuild-composer to register the changes.
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
5afe1c1fc1
cloudConfig: save the aws configs
...
Save the AWS config modifications to the `osbuild-worker.toml` file.
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
ca6c59bfb8
store/cockpitApi: add worker config mutation
...
Add an endpoint to update the worker config.
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
09df007eb9
test/mocks: add cockpit modify
...
Add the `modify` file function which performs atomic modifications to a
file.
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
c55706b931
cockpitApi: create worker config file
...
Create the `osbuild-worker.toml` file if it doesn't exist already.
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
afcc0126e4
cloudConfig: toggle aws config
...
This is still a wip since the form fields aren't yet disabled when the
config toggle is set to off.
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
73ffb97414
cloudConfig: error component
...
Add an error component to improve the UI when there is an issue reading
the `osbuild-worker.toml` file.
2025-07-15 12:38:52 +00:00
Gianluca Zuccarelli
ecc1c2c8cd
cockpitApi: get worker config
...
Add a query to load the `/etc/osbuild-worker/osbuild-worker.toml` config
and use this to set the state of the `cloudConfig` store slice.
2025-07-15 12:38:52 +00:00