【问题标题】:How do I set up a gitlab integration in Bluemix DevOps ToolChain?如何在 Bluemix DevOps ToolChain 中设置 gitlab 集成?
【发布时间】:2017-07-19 05:33:02
【问题描述】:

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

【问题讨论】:

    标签: ibm-cloud devops-services


    【解决方案1】:

    更新:现在可以将 gitlab.com 存储库(或来自公共 Internet 上任何其他 GitLab 服务器的存储库)添加到 Bluemix DevOps 工具链。更多详细信息,请访问Bluemix Documentation。

    原始(过时)答案: 目前无法将 gitlab.com 或其他公共 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 存储库。

    【讨论】:

      【解决方案2】:

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

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2018-04-06
        • 1970-01-01
        • 2020-12-19
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多