Skip to content
Open
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
23 changes: 20 additions & 3 deletions .catalog/nexus-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,37 @@ metadata:
name: nexus-build
title: Nexus Build
description: Build repository for Nexus Repository Manager container images.
tags:
- nexus
- build
- container-image
links:
- url: https://github.com/AlaudaDevops/nexus-build
title: GitHub Repository
icon: github
- url: https://build-harbor.alauda.cn/harbor/projects/11/repositories?q=sonatype-nexus3
title: Harbor Images
icon: dashboard
annotations:
# github plugin
github.com/project-slug: AlaudaDevops/nexus-build
# harbor plugin
goharbor.io/repository-slug: devops/sonatype-nexus3
# backstage techdocs plugin
backstage.io/techdocs-ref: dir:.
# 开源组件代码仓库地址,格式:${url}/${project}/${repo}
acp.cpaas.io/open-source-component-repo: https://github.com/AlaudaDevops/nexus-build

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 (suggestion/maintenance): The version alauda-76.0 is hardcoded. Consider using a dynamic value or environment variable to avoid manual updates when releasing new versions.

# 开源组件的版本信息,只适用于开源组件,自研组件默认不收集版本信息,格式 ${version}
acp.cpaas.io/open-source-component-version: alauda-76.0
# 开源组件的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/AlaudaDevops/nexus-build/blob/alauda-76.0/LICENSE
acp.cpaas.io/owner: kychen@alauda.io

# 组件属性,区别是否部署时必带的核心组件,可选值为 core 和 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.

Warning (warning/type-change): The spec.type changed from plugin to service. This may break existing Backstage integrations or filtering that rely on type: plugin. Please confirm this change is intentional and won't affect existing workflows.

acp.cpaas.io/functional-attributes: plugin

spec:
type: plugin
type: service
system: system:devops-tools
lifecycle: production
owner: devops