fix: resolve metadata validation failures#1915
fix: resolve metadata validation failures#1915dzemanov merged 11 commits intoredhat-developer:mainfrom
Conversation
| version: 0.6.2 | ||
| backstage: | ||
| role: backend-plugin | ||
| supportedVersions: 1.39.1 |
There was a problem hiding this comment.
I am not sure if it's part of this PR, however I want to share that I noticed. Some of .yaml use old supportedVersions version. For example, for the adoption-insights version was updated to 1.45.2 - ref.
Should the version also be updated in the PR?
There was a problem hiding this comment.
Hmm, yes on a given rhdh release we would want this to match the backstage version. @polasudo I wonder this field could probably be set automatically couldn't it?
There was a problem hiding this comment.
This would be good to update. However, only for plugins that are on that Backstage version. I think that if some plugins are on older Backstage version, they would need to be manually validated that they work.
There was a problem hiding this comment.
@gashcrumb best thing would be to update it but the I am not exactly sure why they are not updated, while other are updated, maybe the problem is that they are not build for higher versions of backstage ?
There was a problem hiding this comment.
Some are not updated because it was forgotten. Some are not updated because they are on older backstage version then 1.45. On the other hand, looking at catalog for 1.8, looks like all of the plugins there had supportedVersions set to 1.42, even if they were on different version. E.g roadie jira https://github.com/redhat-developer/rhdh/blob/release-1.8/catalog-entities/marketplace/packages/roadiehq-backstage-plugin-jira.yaml#L21 is on 1.40.2: https://github.com/RoadieHQ/roadie-backstage-plugins/blob/main/plugins/frontend/backstage-plugin-jira/CHANGELOG.md#2131, but supportedVersions are set to 1.42: https://github.com/redhat-developer/rhdh/blob/release-1.8/catalog-entities/marketplace/packages/roadiehq-backstage-plugin-jira.yaml#L24
There was a problem hiding this comment.
I have updated supportedVersions for plugins that are on that version.
Let me know if we want to update all of them.
Remaining ones should be:
Roadie Backstage Plugins (8 plugins)
1. roadiehq-backstage-plugin-argo-cd-backend.yaml
2. roadiehq-scaffolder-backend-module-http-request.yaml
3. roadiehq-scaffolder-backend-module-utils.yaml
4. roadiehq-scaffolder-backend-argocd.yaml
5. roadiehq-backstage-plugin-security-insights.yaml
6. roadiehq-backstage-plugin-jira.yaml
7. roadiehq-backstage-plugin-github-pull-requests.yaml
8. roadiehq-backstage-plugin-github-insights.yaml
9. roadiehq-backstage-plugin-datadog.yaml
Red Hat Resource Optimization (2 plugins)
1. redhat-resource-optimization.yaml
2. redhat-resource-optimization-backend.yaml
AWS Plugins (2 plugins)
1. aws-amazon-ecs-plugin-for-backstage.yaml
2. aws-amazon-ecs-plugin-for-backstage-backend.yaml
PagerDuty Plugins (2 plugins)
1. pagerduty-backstage-plugin.yaml
2. pagerduty-backstage-plugin-backend.yaml
Immobiliarelabs Plugins (2 plugins)
1. immobiliarelabs-backstage-plugin-gitlab.yaml
2. immobiliarelabs-backstage-plugin-gitlab-backend.yaml
Parfuemerie Plugins (1 plugin)
1. parfdg-scaffolder-backend-mod-azure-repositories.yaml
There was a problem hiding this comment.
@josephca didn't we delete a bunch of that from the overlays repo?
workspaces/adr/metadata/backstage-community-plugin-adr-backend.yaml
Outdated
Show resolved
Hide resolved
...action-button/metadata/red-hat-developer-hub-backstage-plugin-application-listener-test.yaml
Outdated
Show resolved
Hide resolved
workspaces/adr/metadata/backstage-community-plugin-adr-backend.yaml
Outdated
Show resolved
Hide resolved
...spaces/global-header/metadata/red-hat-developer-hub-backstage-plugin-global-header-test.yaml
Outdated
Show resolved
Hide resolved
workspaces/translations/metadata/red-hat-developer-hub-backstage-plugin-translations-test.yaml
Outdated
Show resolved
Hide resolved
f4038de to
8b9cf01
Compare
- Fix annotation format: url https:// → url:https:// - Fix version mismatches: rbac (1.47.3), argocd (2.4.3), dynamic-home-page (1.10.4) - Fix OCI tag mismatches: dynatrace-dql (bs_1.45.3__), apic (bs_1.45.3__) - Remove test plugin metadata files (*-test.yaml) - Update supportedVersions where applicable https://issues.redhat.com/browse/RHDHBUGS-2574 Mismatches can be viewed here: https://github.com/redhat-developer/rhdh-plugin-export-overlays/actions/runs/21521471288/job/62013576902
8b9cf01 to
f8d0ea1
Compare
|
|
Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com>
- redhat-resource-optimization: 1.2.1 → 2.0.1 - redhat-resource-optimization-backend: 1.2.1 → 2.0.2 Versions match pinned commit 0ef0e1adb07534b55fded4967ea046b0fa467b2d
Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com>
Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com>
Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com>
Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com>
workspaces/redhat-resource-optimization/metadata/redhat-resource-optimization-backend.yaml
Outdated
Show resolved
Hide resolved
workspaces/redhat-resource-optimization/metadata/redhat-resource-optimization.yaml
Outdated
Show resolved
Hide resolved
|
See also related PR #1929 |
Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com>
|
|
/publish |
|
/lgtm |
|
@polasudo: you cannot LGTM your own PR. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dzemanov, gashcrumb, polasudo The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
PR action ( |
|
|
|
/cherry-pick release-1.9 |
|
@dzemanov: #1915 failed to apply on top of branch "release-1.9": DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
* fix: resolve metadata validation failures - Fix annotation format: url https:// → url:https:// - Fix version mismatches: rbac (1.47.3), argocd (2.4.3), dynamic-home-page (1.10.4) - Fix OCI tag mismatches: dynatrace-dql (bs_1.45.3__), apic (bs_1.45.3__) - Remove test plugin metadata files (*-test.yaml) - Update supportedVersions where applicable https://issues.redhat.com/browse/RHDHBUGS-2574 Mismatches can be viewed here: https://github.com/redhat-developer/rhdh-plugin-export-overlays/actions/runs/21521471288/job/62013576902 * fix: correct packageName for redhat-resource-optimization Update packageName to match actual source package.json: - @red-hat-developer-hub/backstage-plugin-optimizations → @red-hat-developer-hub/plugin-redhat-resource-optimization - @red-hat-developer-hub/backstage-plugin-optimizations-backend → @red-hat-developer-hub/plugin-redhat-resource-optimization-backend * Update rbac Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com> * fix: update redhat-resource-optimization versions to match source - redhat-resource-optimization: 1.2.1 → 2.0.1 - redhat-resource-optimization-backend: 1.2.1 → 2.0.2 Versions match pinned commit 0ef0e1adb07534b55fded4967ea046b0fa467b2d * Update supportedVersions for plugins on that Backstage version Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com> * Fix source-location format Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com> * Fix external locations Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com> * Fix wrong tab Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com> * Downgrade resource optimization version Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com> --------- Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com> Co-authored-by: Dominika Zemanovicova <dzemanov@redhat.com>
|
Note: cherry-pick failed because some workspaces were removed for
|
fix: resolve metadata validation failures (#1915) * fix: resolve metadata validation failures - Fix annotation format: url https:// → url:https:// - Fix version mismatches: rbac (1.47.3), argocd (2.4.3), dynamic-home-page (1.10.4) - Fix OCI tag mismatches: dynatrace-dql (bs_1.45.3__), apic (bs_1.45.3__) - Remove test plugin metadata files (*-test.yaml) - Update supportedVersions where applicable https://issues.redhat.com/browse/RHDHBUGS-2574 Mismatches can be viewed here: https://github.com/redhat-developer/rhdh-plugin-export-overlays/actions/runs/21521471288/job/62013576902 * fix: correct packageName for redhat-resource-optimization Update packageName to match actual source package.json: - @red-hat-developer-hub/backstage-plugin-optimizations → @red-hat-developer-hub/plugin-redhat-resource-optimization - @red-hat-developer-hub/backstage-plugin-optimizations-backend → @red-hat-developer-hub/plugin-redhat-resource-optimization-backend * Update rbac * fix: update redhat-resource-optimization versions to match source - redhat-resource-optimization: 1.2.1 → 2.0.1 - redhat-resource-optimization-backend: 1.2.1 → 2.0.2 Versions match pinned commit 0ef0e1adb07534b55fded4967ea046b0fa467b2d * Update supportedVersions for plugins on that Backstage version * Fix source-location format * Fix external locations * Fix wrong tab * Downgrade resource optimization version --------- Signed-off-by: Dominika Zemanovicova <dzemanov@redhat.com> Co-authored-by: Dominika Zemanovicova <dzemanov@redhat.com>



https://issues.redhat.com/browse/RHDHBUGS-2574
Description of problem:
Version metadata for plugin, packages and dynamicArtifact is mismatched.
Mismatches can be viewed here: https://github.com/redhat-developer/rhdh-plugin-export-overlays/actions/runs/21521471288/job/62013576902