Commit graph

2678 commits

Author SHA1 Message Date
Sanne Raymaekers
7129cf866e .github/workflows/release: fix make dist step 2025-01-20 17:13:40 +01:00
regexowl
92a6fb5417 LandingPage: Hide NewAlert
We'll be switching NewAlert with blueprints for information about newly available customizations. The component itself is a nice scaffolding for the upcoming announcement, would prefer to keep it for now.
2025-01-20 15:58:00 +01:00
Sanne Raymaekers
17f2d11abe .github/workflows: add create-tag workflow 2025-01-20 15:07:53 +01:00
Sanne Raymaekers
fff8128771 .github/workflows: add release workflow
Also pushes the dist tarball, conform to the Source0 value in the spec
file. This is required for Packit to do downstream releases.
2025-01-20 15:07:53 +01:00
regexowl
6918313d6f validators: Remove undefined where only string value expected
This removes checks for an `undefined` value in validators that take only `string`.
2025-01-20 13:23:34 +01:00
regexowl
563ff04054 Wizard: Parse old snapshot dates when editing
This updates format of the snapshot date when the blueprint with the old format gets edited.
2025-01-20 11:43:40 +01:00
dependabot[bot]
44685f4c76 build(deps): bump @unleash/proxy-client-react from 4.4.0 to 4.5.1
Bumps [@unleash/proxy-client-react](https://github.com/Unleash/unleash-proxy-react) from 4.4.0 to 4.5.1.
- [Release notes](https://github.com/Unleash/unleash-proxy-react/releases)
- [Changelog](https://github.com/Unleash/proxy-client-react/blob/main/Changelog.md)
- [Commits](https://github.com/Unleash/unleash-proxy-react/compare/v4.4.0...v4.5.1)

---
updated-dependencies:
- dependency-name: "@unleash/proxy-client-react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 10:18:08 +01:00
dependabot[bot]
91c64bfe50 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.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/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.20.0/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>
2025-01-20 08:43:57 +01:00
regexowl
7986828f6c ESLint: Set "no-unnecessary-condition" rule to warn
This adds "no-unnecessary-condition" and sets the output to warn. This should help us eliminate superfluous conditional chaining and uncover potentially faulty conditions.

Docs: https://typescript-eslint.io/rules/no-unnecessary-condition/
2025-01-17 11:57:18 -06:00
Gianluca Zuccarelli
8d34f85c48 store/cockpitApi: fix version number
Get rid of the `Math.floor` for the version and just ensure that
the version is a number.
2025-01-17 11:15:26 -06:00
Gianluca Zuccarelli
9a3c46e9ac store/cockpitApi: blueprint pagination
Add blueprint list pagination support
2025-01-17 11:15:26 -06:00
Gianluca Zuccarelli
ad239b9b6c store/cockpitApi: blueprint links
Use the filename/id of the blueprints as the links to
the first and last element for the blueprint list metadata.
These links are a little meaningless since they should be
urls.
2025-01-17 11:15:26 -06:00
Gianluca Zuccarelli
6bc791a379 store/cockpitApi: fix blueprint filtering
The blueprint list wasn't being filtered correctly if the blueprint
name was specified or if any search terms were provided. This commit
fixes that.
2025-01-17 11:15:26 -06:00
regexowl
6e6e3b1ccc Wizard: Fix repo status formatting
This fixes the formatting of repositories status.
2025-01-17 09:11:41 -06:00
dependabot[bot]
52efa800d8 build(deps-dev): bump @redhat-cloud-services/frontend-components-config
Bumps [@redhat-cloud-services/frontend-components-config](https://github.com/RedHatInsights/frontend-components) from 6.3.5 to 6.3.8.
- [Release notes](https://github.com/RedHatInsights/frontend-components/releases)
- [Changelog](https://github.com/RedHatInsights/frontend-components/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RedHatInsights/frontend-components/compare/@redhat-cloud-services/frontend-components-config-6.3.5...@redhat-cloud-services/frontend-components-config-6.3.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-17 11:22:07 +01:00
dependabot[bot]
fd5017c005 build(deps): bump @sentry/webpack-plugin from 2.22.7 to 3.0.0
Bumps [@sentry/webpack-plugin](https://github.com/getsentry/sentry-javascript-bundler-plugins) from 2.22.7 to 3.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/2.22.7...3.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-17 11:11:05 +01:00
Sanne Raymaekers
9d2739c51f cockpit/spec: post-release version bump 2025-01-17 10:03:42 +01:00
dependabot[bot]
c89459d93e build(deps-dev): bump jsdom from 25.0.1 to 26.0.0
Bumps [jsdom](https://github.com/jsdom/jsdom) from 25.0.1 to 26.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/25.0.1...26.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-17 08:53:47 +01:00
Gianluca Zuccarelli
3e6985988a store/backendApi: export the relevant store api
Since the implementation of the cockpitApi and imageBuilderApi are different,
we should make sure to export the correct one depending on the environment
we are in.
2025-01-16 15:45:41 -06:00
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