Skip to content

chore: add .catalog/catalog-info.yaml - #2

Merged
yuzichen12123 merged 1 commit into
mainfrom
chore/add-root-catalog-goharbor-distribution
Apr 29, 2026
Merged

chore: add .catalog/catalog-info.yaml#2
yuzichen12123 merged 1 commit into
mainfrom
chore/add-root-catalog-goharbor-distribution

Conversation

@yuzichen12123

Copy link
Copy Markdown
Collaborator

Summary

  • add .catalog/catalog-info.yaml for Backstage catalog registration
  • keep the source-of-truth component metadata with the repository

Testing

  • yaml parse check


acp.cpaas.io/functional-attributes: plugin
spec:
type: service

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Critical Issue (bug/configuration): The system field incorrectly includes the "system:" prefix. It should be system: devops-tools (without the prefix), since the System's metadata name is already devops-tools. The current value system: system:devops-tools will cause Backstage to look for a non-existent system named "system:devops-tools`.

Suggested change
type: service
system: devops-tools

acp.cpaas.io/open-source-component-repo: https://github.com/goharbor/distribution
# 开源组件的版本信息,只适用于开源组件,自研组件默认不收集版本信息,格式 ${version}
acp.cpaas.io/open-source-component-version: v2.8.3
# 开源组件的license信息,格式 ${license}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion (style/consistency): The annotation comments are in Chinese while the codebase typically uses English. Consider standardizing to English for consistency with other AlaudaDevops repositories.

@alaudabot

Copy link
Copy Markdown

🤖 AI Code Review

Property Value
Model opencode/minimax-m2.5-free
Style strict
Issues Found 1
Config Source centralized
Profile ❌ Not Found
Personalized Prompt ❌ No
Prompt Path .github/review/profiles/alaudadevops/goharbor-distribution/pr-review.md
Alauda Skills ✅ base-acp-operator-list, base-acp-operator-release, base-authoring, base-m365, base-ocp-operator-list, base-skill-setup, builders-component-knowledge, builders-confluence, builders-jira, builders-prd-to-testcase, builders-publish-errata, builders-roadmap-studio, builders-story-split, cross-repo-add-mirror, cross-repo-publish, devops-autodns, devops-candidate-version-supervisor, devops-connectors-acceptance-test, devops-connectors-explore, devops-connectors-poc-case, devops-connectors-review, devops-connectors-unit-test, devops-connectors-write-user-docs, devops-fix-go-vulns, devops-fork-alauda-binary-release, devops-gen-advanced-form-descriptors, devops-knowledge-adoption, devops-refresh-containerfile-digests, devops-refresh-containerfile-tags, devops-replace-strings, devops-scan-docker-keywords, devops-sync-alauda-github-releases, devops-tekton-dynamic-form-optimizer, devops-tekton-operator-task-e2e, devops-tekton-task-generator, devops-tekton-task-overview-template, devops-tekton-task-version-upgrade, devops-tekton-upgrade-notes, devops-tool-report-troubleshoot, devops-ui-e2e-code-audit, devops-ui-e2e-fix-base-on-report, devops-ui-e2e-regression-and-fix, devops-ui-generate-e2e-from-feature, devops-ui-pre-setup, devops-upgrade-go, devops-upstream-backport-cve, devops-upstream-upgrade
Reviewed at 2026-04-29 06:35:13 UTC

Summary

This PR adds a Backstage catalog-info.yaml file defining the goharbor-distribution component and devops-tools system. The file follows Backstage catalog conventions, but there is a critical issue on line 24 where the system reference incorrectly includes a "system:" prefix that should be removed.

Review Statistics

Category Count
Critical Issues 1
Warnings 0
Suggestions 1
Files Reviewed 1

Critical Issues

  • [.catalog/catalog-info.yaml:24] (bug/configuration): The system field incorrectly includes the "system:" prefix. It should be system: devops-tools (without the prefix), since the System's metadata name is already devops-tools. The current value system: system:devops-tools will cause Backstage to look for a non-existent system named "system:devops-tools".

Suggestions

  • [.catalog/catalog-info.yaml:14] (style/consistency): The annotation comments are in Chinese while the codebase typically uses English. Consider standardizing to English for consistency with other AlaudaDevops repositories.

Positive Feedback

  • The file structure correctly follows the Backstage catalog-info.yaml v1alpha1 format
  • Both Component and System definitions are properly structured with appropriate metadata
  • All required annotations (github.com/project-slug, open-source-component-repo, etc.) are present
  • The lifecycle and owner fields are appropriately set to production

ℹ️ About this review

This review was automatically generated using the run-actions workflow.

  • Shared prompt: .github/prompts/code-review.md
  • Config source: centralized
  • Profile path: Not Found
  • Profile ref: ebb6c9593926ecbd0b2b1d3ebde0c09c862ff8bf
  • No repository-specific prompt configured
  • Alauda skills: base-acp-operator-list, base-acp-operator-release, base-authoring, base-m365, base-ocp-operator-list, base-skill-setup, builders-component-knowledge, builders-confluence, builders-jira, builders-prd-to-testcase, builders-publish-errata, builders-roadmap-studio, builders-story-split, cross-repo-add-mirror, cross-repo-publish, devops-autodns, devops-candidate-version-supervisor, devops-connectors-acceptance-test, devops-connectors-explore, devops-connectors-poc-case, devops-connectors-review, devops-connectors-unit-test, devops-connectors-write-user-docs, devops-fix-go-vulns, devops-fork-alauda-binary-release, devops-gen-advanced-form-descriptors, devops-knowledge-adoption, devops-refresh-containerfile-digests, devops-refresh-containerfile-tags, devops-replace-strings, devops-scan-docker-keywords, devops-sync-alauda-github-releases, devops-tekton-dynamic-form-optimizer, devops-tekton-operator-task-e2e, devops-tekton-task-generator, devops-tekton-task-overview-template, devops-tekton-task-version-upgrade, devops-tekton-upgrade-notes, devops-tool-report-troubleshoot, devops-ui-e2e-code-audit, devops-ui-e2e-fix-base-on-report, devops-ui-e2e-regression-and-fix, devops-ui-generate-e2e-from-feature, devops-ui-pre-setup, devops-upgrade-go, devops-upstream-backport-cve, devops-upstream-upgrade

@yuzichen12123
yuzichen12123 merged commit 47b2ec5 into main Apr 29, 2026
19 of 23 checks passed
@yuzichen12123
yuzichen12123 deleted the chore/add-root-catalog-goharbor-distribution branch April 29, 2026 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants