--- title: "Public Cloud Learning Sessions (OpenText) - GitHub Enterprise to GitLab Migration" type: source tags: - GitHub - GitLab - Migration - OpenText - DevOps - Source Control date: 2024-06-25 --- ## Source File - [[Cloud & DevOps/Public-Cloud-Learning-Sessions/10_OpenText-Series/public-cloud-learning-sessions-opentext-github-enterprise-to-gitlab-migration-20]] ## Summary(用中文描述) - 核心主题:OpenText 将源代码管理平台从 GitHub Enterprise 迁移至 GitLab - 问题域:企业级版本控制系统迁移、多团队协同转型、CI/CD 流水线重构 - 方法/机制:Project Thor 统一工具链;Build Hub 团队提供支持;各团队自主规划迁移;两种迁移方案(镜像同步 / 搬移重构);通过 PHT(Product Hub Platform)跟踪进度 - 结论/价值:GitHub 许可证12月底到期不续,GitLab 许可证覆盖8,500用户;迁移是自服务模式(self-serve),Build Hub 提供辅助支持 ## Key Claims(用中文描述) - OpenText 决定将 GitLab 作为源代码控制的黄金标准(golden standard) - GitHub Enterprise 许可证12月底到期,公司不打算续约 - GitLab 许可证覆盖高达 8,500 名用户 - 各团队需自行盘点 GitHub 资产、识别流水线、规划迁移 - 迁移完成标准:代码迁移完成 + 流水线转型 + PHT 更新 - GitLab 仓库权限由 PHT 控制,支持自助访问管理 - 个人仓库允许存在于 GitLab,但不得包含产品源代码,且不会被 PHT 映射 - 网络连通性挑战通过在 Brook Park 创建 GitLab 代理解决 ## Key Quotes > "Project Thor aims to integrate Micro-Focus and OpenText tooling, with GitLab as the centralized system for source control." — 迁移背景说明 > "Each team will define what they have in GitHub today, how they're using it, and they will plan to move it and change their pipelines." — 自服务迁移模式 > "The current solution that is working and is efficient and is actually reporting to scale." — GitLab 代理方案评价 ## Key Concepts - [[Project Thor]]:整合 Micro Focus 和 OpenText 工具链的项目,GitLab 作为源代码控制的集中系统 - [[Build Hub]]:负责管理 GitLab 等中心工具并为软件交付流水线提供支持 - [[PHT(Product Hub Platform)]]:产品 Hub 平台,用于管理 GitLab 仓库权限映射和迁移进度跟踪 - [[Mirroring]]:镜像方案,将 GitHub 仓库同步到 GitLab - [[Shift and Lift]]:搬移重构方案,将代码复制到 GitLab 并同时转换流水线 - [[Service Account Standard]]:服务账号标准,要求服务账号必须关联到个人,密码设有到期时间 ## Key Entities - [[OpenText]]:本次迁移的主体公司,合并了 Micro Focus - [[GitHub Enterprise]]:被迁移的源代码管理平台,许可证12月底到期 - [[GitLab]]:迁移目标平台,作为源代码控制的黄金标准 - [[Build Hub]]:Build Hub 团队,负责中心工具管理和流水线支持 ## Connections - [[OpenText]] ← uses ← [[GitLab]](作为源代码管理标准平台) - [[OpenText]] ← deprecated ← [[GitHub Enterprise]](12月底到期停用) - [[Build Hub]] → supports → 各团队迁移 - [[PHT(Product Hub Platform)]] ← manages ← GitLab 仓库权限 ## Contradictions - 无已知冲突内容