Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .catalog/harbor-cli.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: harbor-cli
title: Harbor CLI
description: Command-line tool for managing Harbor container registry, forked from goharbor/harbor-cli with Alauda customizations.
annotations:
# github plugin
github.com/project-slug: AlaudaDevops/harbor-cli
acp.cpaas.io/instance: edge.alauda.cn
# 开源组件代码仓库地址,格式:${url}/${project}/${repo}
acp.cpaas.io/open-source-component-repo: https://github.com/goharbor/harbor-cli
# 开源组件的版本信息,只适用于开源组件,自研组件默认不收集版本信息,格式 ${version}
acp.cpaas.io/open-source-component-version: alauda-v0.0.18
# 开源组件的license信息,格式 ${license}
acp.cpaas.io/open-source-component-license: Apache-2.0
# 开源组件的license地址,格式 ${url}/${project}/${repo}/${license-path}
acp.cpaas.io/open-source-component-license_url: https://github.com/goharbor/harbor-cli/blob/main/LICENSE
acp.cpaas.io/owner: jtcheng@alauda.io

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 (bug/format): Incorrect value format. The spec.system field should contain just the system name (devops-tools), not the prefixed format (system:devops-tools). According to Backstage spec, spec.system is an optional field that references the system name directly. Using the system: prefix may cause validation failures.

Suggested change
acp.cpaas.io/owner: jtcheng@alauda.io
system: devops-tools


# 组件属性,区别是否部署时必带的核心组件,可选值为 core 和 plugin。
acp.cpaas.io/functional-attributes: plugin

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 (refactor/consistency): Consider aligning spec.owner (devops) with metadata.annotations.acp.cpaas.io/owner (jtcheng@alauda.io) for consistency in ownership representation across the catalog entity.

spec:
type: tool
system: system:devops-tools
lifecycle: production
owner: devops
Loading