Commit graph

2759 commits

Author SHA1 Message Date
Gianluca Zuccarelli
79532e4ac5 store/cockpitApi: add delete endpoint 2025-01-16 15:45:41 -06:00
Gianluca Zuccarelli
ebe387992c cockpit/webpack: path polyfill
We need to polyfill the `path` plugin for the cockpitApi store
2025-01-16 15:45:41 -06:00
Gianluca Zuccarelli
f4d6bc587f Makefile: update installation
Small fix to the symlinking of ~/.local/share/cockpit.
2025-01-16 15:45:41 -06:00
regexowl
4802d08214 Wizard: Firewall ports input
This adds chipping input for ports on the Firewall step.
2025-01-16 11:23:56 -06:00
Sanne Raymaekers
f0cf5b51d6 packit.yaml: add koji & copr build jobs and a release job 2025-01-16 12:40:43 +01:00
Sanne Raymaekers
4ae6d3b155 cockpit/spec: drop obsoletes for now
Let's wait with obsoleting cockpit-composer until enough features are
working.
2025-01-16 12:40:43 +01:00
Sanne Raymaekers
f5fa3d749e cockpit/spec: full source url
Releases will be created on github which should have this source
attached to them.
2025-01-15 12:18:05 +01:00
Sanne Raymaekers
f86586101a cockpit/spec: set version to 54
Cockpit-composer left at 53, cockpit-image-builder picks it up from 54.
2025-01-15 12:18:05 +01:00
Sanne Raymaekers
57d40ccecf cockpit/spec: reformat description
Fixes `description-line-too-long` error.
2025-01-15 12:18:05 +01:00
Sanne Raymaekers
b98ca9f089 cockpit/spec: capitalise summary
Fixes `summary-not-capitalized` rpmlint warning.
2025-01-15 12:18:05 +01:00
Sanne Raymaekers
abbf017df5 packit.yaml: add aarch64 to PR build targets 2025-01-15 12:18:05 +01:00
Sanne Raymaekers
acc15d1323 cockpit/spec: add changelog section 2025-01-15 12:18:05 +01:00
Sanne Raymaekers
6a5ef971c1 cockpit/spec: move metadata validation to check section 2025-01-15 12:18:05 +01:00
Sanne Raymaekers
a04e92e813 cockpit/spec: drop source maps in install section
Source maps should only be used for debugging.
2025-01-15 12:18:05 +01:00
Sanne Raymaekers
b18bd059ea cockpit/spec: add obsoletes/provides for cockpit-composer 2025-01-15 12:18:05 +01:00
Sanne Raymaekers
c05531f4fa cockpit/spec: fix license name 2025-01-15 12:18:05 +01:00
dependabot[bot]
c15a075ab2 build(deps-dev): bump @redhat-cloud-services/eslint-config-redhat-cloud-services
Bumps @redhat-cloud-services/eslint-config-redhat-cloud-services from 2.0.4 to 2.0.10.

---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/eslint-config-redhat-cloud-services"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-15 10:56:00 +01:00
Michal Gold
568b8c83cf wizard: add ssh_key to review step
this commit add ssh_key to review step under Users
2025-01-15 10:42:43 +01:00
dependabot[bot]
8996dcc092 build(deps): bump @patternfly/react-table from 5.4.13 to 5.4.14
Bumps [@patternfly/react-table](https://github.com/patternfly/patternfly-react) from 5.4.13 to 5.4.14.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@5.4.13...@patternfly/react-table@5.4.14)

---
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>
2025-01-15 09:13:29 +01:00
dependabot[bot]
4425fbb134 build(deps-dev): bump typescript from 5.7.2 to 5.7.3
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.7.2 to 5.7.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.7.2...v5.7.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-15 08:36:48 +01:00
regexowl
3167effa1b Wizard: Add unleash flag and update tests
This gates the step behind an unleash flag and updates the existing tests so they pass with the new step added.
2025-01-14 14:11:22 -06:00
Lucas Garfield
e6bc0d429a Wizard: Firewall customization scaffolding 2025-01-14 14:11:22 -06:00
regexowl
5696d1805f Wizard: Do not show warning icon if warning === ''
Fixes #2743

This hides the warning under FSC min size if the body of warning is empty.
2025-01-14 15:46:30 +01:00
Sanne Raymaekers
576262c513 cockpit/packit: add packit config
Add the initial packit config so we can push copr rpms for each pr.

Co-authored-by: Gianluca Zuccarelli <gzuccare@redhat.com>
2025-01-14 12:09:59 +01:00
Gianluca Zuccarelli
436b75b209 Makefile: fix cockpit/build target
Remove `npm ci` from the build target since setting the NODE_ENV
to production means that the dev dependencies aren't installed.

See:
https://github.com/osbuild/image-builder-frontend/pull/2701#discussion_r1905447709
2025-01-14 12:09:59 +01:00
Gianluca Zuccarelli
1c8e76debf Makefile: add rpm build targets
Add some targets to help build rpm and srpms.
2025-01-14 12:09:59 +01:00
Gianluca Zuccarelli
94abf8e617 README: add empty README 2025-01-14 12:09:59 +01:00
Gianluca Zuccarelli
926ce465da cockpit/metainfo: add basic metainfo file
This is almost a straight copy from the cockpit-composer repo.
2025-01-14 12:09:59 +01:00
Gianluca Zuccarelli
a01bc0d1de cockpit/specfile: add initial specfile 2025-01-14 12:09:59 +01:00
Gianluca Zuccarelli
7824d047db Makefile: add install target
Add a simple install target that we can reference in the specfile.
2025-01-14 12:09:59 +01:00
Gianluca Zuccarelli
a1d1c4b72e constants: fix cockpit constant
Since we are building the project under `cockpit-composer` we should change
the `BLUEPRINTS_DIR` constant.
2025-01-14 12:09:59 +01:00
red-hat-konflux[bot]
52a8b085eb chore(deps): update konflux references
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
2025-01-14 10:08:27 +01:00
dependabot[bot]
a02dda9f02 build(deps-dev): bump @typescript-eslint/parser from 8.18.1 to 8.20.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.18.1 to 8.20.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.20.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>
2025-01-14 09:08:37 +01:00
dependabot[bot]
d1efe78a94 build(deps-dev): bump @babel/preset-typescript from 7.25.7 to 7.26.0
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.25.7 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-preset-typescript)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-14 08:23:32 +01:00
dependabot[bot]
681006fa5e build(deps-dev): bump mini-css-extract-plugin from 2.9.1 to 2.9.2
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 2.9.1 to 2.9.2.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v2.9.1...v2.9.2)

---
updated-dependencies:
- dependency-name: mini-css-extract-plugin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 10:51:44 +01:00
dependabot[bot]
a7209ce414 build(deps-dev): bump sass from 1.83.0 to 1.83.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.83.0 to 1.83.1.
- [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.83.0...1.83.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 09:18:51 +01:00
Michal Gold
224b927921 this commit adds the latest changes in api schema 2025-01-09 10:31:55 +01:00
Michal Gold
b3a8597b66 Revert "wizard: add confirm password to users step (HMS-4903)"
This reverts commit ba70753a80.
2025-01-08 12:47:05 -06:00
regexowl
d3e76c6d49 ImagesTable: Fix version filter
This fixes the "All versions" / "Newest" filter in the blueprint images table.
2025-01-08 17:30:21 +01:00
regexowl
add30905ab ImagesTable: Fix images header
"All images" should change to "<blueprint_name> images" when a blueprint is selected.
2025-01-08 15:11:13 +01:00
regexowl
34b4f243ff ImagesTable: Fix compose filtering by selected blueprint
The filtering was defaulting to version '1', making images of other versions not appear when selecting a blueprint.

How to reproduce:
1. create a blueprint
2. build an image
3. edit the blueprint to get it to version 2
4. build another image

Current behaviour:
- only image with version 1 is visible

After fix:
- both image for version 1 and image for version 2 of the blueprint should be visible when the blueprint is selected
2025-01-08 13:11:38 +01:00
Michal Gold
ba70753a80 wizard: add confirm password to users step (HMS-4903)
this commit add confirm password to users step
2025-01-08 11:10:29 +01:00
dependabot[bot]
b9d6cc886a build(deps): bump @patternfly/react-core from 5.4.1 to 5.4.12
Bumps [@patternfly/react-core](https://github.com/patternfly/patternfly-react) from 5.4.1 to 5.4.12.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@5.4.1...@patternfly/react-core@5.4.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-08 09:22:02 +01:00
dependabot[bot]
c6f76cf4bd build(deps-dev): bump sass-loader from 16.0.3 to 16.0.4
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 16.0.3 to 16.0.4.
- [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/v16.0.3...v16.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-08 08:36:36 +01:00
Bryttanie House
29736d8d0c Wizard: switch snapshot date in wizard to RFC3339 2025-01-07 14:37:34 +01:00
Anna Vítová
e5934452ca src: add checkbox to confirm custom repos import
Importing custom repositories on behalf users might be unexpected. This
commit adds a checkbox to opt out.
2025-01-07 12:11:25 +01:00
Anna Vítová
b7b9d2ac24 src: add notification for custom repo imports
Show notification about imported custom repositories
2025-01-07 12:11:25 +01:00
Anna Vítová
e805c65f81 src: add custom repositories import feature
This allows sharing blueprints cross organizations even with custom
repositories.
2025-01-07 12:11:25 +01:00
dependabot[bot]
2bee0ef49b build(deps-dev): bump react-chartjs-2 from 5.2.0 to 5.3.0
Bumps [react-chartjs-2](https://github.com/reactchartjs/react-chartjs-2) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/reactchartjs/react-chartjs-2/releases)
- [Changelog](https://github.com/reactchartjs/react-chartjs-2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/reactchartjs/react-chartjs-2/compare/v5.2.0...v5.3.0)

---
updated-dependencies:
- dependency-name: react-chartjs-2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-07 09:14:21 +01:00
dependabot[bot]
406e42f52f build(deps): bump @patternfly/react-table from 5.4.12 to 5.4.13
Bumps [@patternfly/react-table](https://github.com/patternfly/patternfly-react) from 5.4.12 to 5.4.13.
- [Release notes](https://github.com/patternfly/patternfly-react/releases)
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@5.4.12...@patternfly/react-table@5.4.13)

---
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>
2025-01-07 08:40:19 +01:00