--- title: "Public Cloud Learning Sessions (OpenText) - GitHub Enterprise to GitLab migration - 20240625" type: source tags: - GitHub - GitLab - Migration - OpenText date: 2024-06-25 --- ## Source File - [[raw/Cloud & DevOps/Public-Cloud-Learning-Sessions/10_OpenText-Series/public-cloud-learning-sessions-opentext-github-enterprise-to-gitlab-migration-20.md]] ## Summary - 核心主题:OpenText 将代码仓库从 GitHub Enterprise 迁移到 GitLab - 问题域:企业级源代码管理平台迁移 - 方法/机制:self-serve 模式,团队自行定义需求并转换 CI/CD 管道 - 结论/价值:GitHub 许可证12月底到期不再续约,GitLab 许可证覆盖8500用户,Project Thor 整合 Micro Focus 和 OpenText 工具,GitLab 作为源代码控制的集中系统 ## Key Claims - GitHub Enterprise 许可证将于12月底到期,公司决定不再续约 - GitLab 许可证覆盖最多8500名用户 - Project Thor 目标是将 Micro Focus 和 OpenText 工具集成,GitLab 作为集中式源代码控制系统 - Build Hub 团队管理 GitLab 等中央工具,为软件交付管道提供支持 - 迁移方式为 self-serve,各团队定义自身需求并规划迁移和管道转换 ## Key Quotes > "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." ## Key Concepts - [[GitHub-Enterprise]] → [[GitLab]] 迁移的两种方式:mirroring(同步)和 shift and lift(复制代码并转换管道) - [[Build-Hub]]:管理 GitLab 等中央工具的团队,为软件交付管道提供支持 - [[Project-Thor]]:整合 Micro Focus 和 OpenText 工具的项目,GitLab 作为集中式源代码控制 - [[PHT]]:Product Hub platform,GitLab 仓库权限控制平台 - [[Service-Account-Standard]]:服务账户必须关联到个人,密码有有效期 ## Key Entities - [[OpenText]] — 企业内容管理软件公司,主办 Public Cloud Learning Sessions - [[GitHub]] — 全球最大代码托管平台,Enterprise 版本许可证即将到期 - [[GitLab]] — 代码托管和 DevOps 平台,将作为新的集中式源代码控制系统 ## Connections - [[OpenText]] ← hosts ← [[Public-Cloud-Learning-Sessions]] - [[GitHub-Enterprise]] → replaced_by → [[GitLab]] - [[Build-Hub]] ← supports ← [[Project-Thor]] - [[PHT]] ← controls ← [[GitLab]] permissions ## Contradictions - (暂无) ## Implementation Steps 1. 安装 GitLab 插件 2. 早期访问 GitLab 3. 映射仓库到 PHT 4. 设置服务账户 5. 更新管道 ## Network Connectivity - GitLab proxy 位于 Brook Park,可通过 SD1 访问 - 商业实例连接 GitLab 可能需要 GIS 团队批准例外 ## Migration Tracking - 通过 PHT 跟踪,定期向开发经理和构建倡导者更新进度 - 规划指南:清点 GitHub 资产、识别管道、了解网络连接