如何在 Bluemix DevOps ToolChain 中设置 gitlab 集成?

How do I set up a gitlab integration in Bluemix DevOps ToolChain?

IBM Bluemix DevOps ToolChain 允许源代码存储库只有 github 和 IBM 版本的 gitlab。我的 repo 在 public gitlab 云中,我不打算将它移动到 IBM 的 gitlab 云中。如何设置我的工具链?

更新: 现在可以添加 gitlab.com 存储库(或来自 public 互联网上任何其他 GitLab 服务器的存储库) 到 Bluemix DevOps 工具链。 Bluemix Documentation.

中提供了更多详细信息

原始(过时)答案: 目前无法将 gitlab.com 或其他 public GitLab 服务器上的存储库添加到 IBM Bluemix DevOps 工具链。但是,该功能正在积极开发中。

在该功能可用之前,您可以通过将存储库复制到受支持的 Git 提供商之一来继续。在 https://help.github.com/articles/duplicating-a-repository/ 有关于复制存储库的说明。简而言之:

git clone --bare https://github.com/exampleuser/old-repository.git
cd old-repository.git
git push --mirror https://github.com/exampleuser/new-repository.git

该示例使用 github.com,但此方法适用于任何 git 存储库。

我认为这是最近添加的,您可以在将工具添加到工具链时直接选择它。还有一个关于它的博客 post https://serifandsemaphore.io/build-a-serverless-api-in-seconds-with-go-c504398d86f6