Files
nexus/wiki/concepts/Artifact-Repo.md
2026-04-29 04:03:31 +08:00

62 lines
1.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Artifact Repo制品仓库"
type: concept
tags: [Artifact-Repo, DevOps, CI/CD, OpenText, Thor, Artifactory]
sources:
- public-cloud-learning-sessions-opentext-product-hub-pht-overview-and-qa-20240806
last_updated: 2026-05-11
---
## Artifact Repo制品仓库
Artifact Repo 是存储 CI/CD 流水线产出的二进制文件(如 JAR、Docker 镜像、安装包等)的仓库。在 OpenText 环境中,制品仓库通过 Artifactory 管理,并在 Product HubPHT中映射权限。
## 与 Source Repo 的区别
| 维度 | Source Repo | Artifact Repo |
|------|------------|----------------|
| 存储内容 | 源代码 | 构建产物(二进制文件) |
| 工具 | GitLab | Artifactory |
| 权限管理 | PHT 中映射 Source Repo 权限 | PHT 中管理 Artifact Repo 权限 |
| 新结构默认启用 | 否(需手动映射) | 是(自动启用)|
## 在 Product Hub 中的管理
- Product 可以在 PHT 中映射 Artifact Repo
- Artifact Repo 权限为新结构默认启用
- 与 Product Hierarchy 关联:每个 Product 可以关联多个 Source Repo 和 Artifact Repo
## 与 CI/CD Pipeline 的关系
[[CI/CD Pipeline]] 的产出(构建产物)存储于 Artifact Repo
```
代码提交 → GitLab (Source Repo)
CI/CD Pipeline 执行
构建产物生成
Artifactory (Artifact Repo)
部署到客户环境
```
## 与 Product Hub 的集成
[[Product Hub (PhD)]] 管理 Artifact Repo 的:
- 权限配置
- 与产品的关联关系
- 跨团队访问控制
## Connections
- [[Artifact-Repo]] ← managed_by ← [[Product Hub (PhD)]]
- [[Artifact-Repo]] ← stores ← CI/CD Pipeline 输出
- [[Artifact-Repo]] ← provided_by ← Artifactory
- [[Artifact-Repo]] ← associated_with ← Product Hierarchy
## Sources
- [[public-cloud-learning-sessions-opentext-product-hub-pht-overview-and-qa-20240806]]