【问题标题】:Connect Azure Devops to an internal ip repository将 Azure Devops 连接到内部 ip 存储库
【发布时间】:2019-08-26 17:06:28
【问题描述】:

我在 ip 10.0.0.1:8080 上有我的 Tfs/git 存储库,我想将 azure devops 管道连接到该存储库。我不能将 git 暴露在互联网上,因为公司的 polycies 并且他们不想使用 Azure Repos。

我知道我必须建立一个服务连接,但我无法访问私有 ip。

【问题讨论】:

    标签: git azure tfs azure-devops azure-pipelines


    【解决方案1】:

    如果要使用 Microsoft 托管代理连接到本地 git 存储库,则必须将本地 Git 公开到 Internet,否则 Azure DevOps 无法连接到它。

    但是,您可以尝试以下解决方法:

    • 在位于 与本地 Git 服务器相同的网络。因此,代理可以 在管道期间访问本地 git 存储库。
    • 设置 VPN/代理以将本地 Git 公开到互联网。
    • 将本地 Git 存储库导入您的 Azure DevOps 帐户,以便 您可以使用导入的 Azure DevOps git repo 而不是 on 前提一。由于本地 git 没有暴露在互联网上,因此您 可能需要手动导入该 git repo。你可以参考 在此线程中回答以获取详细信息: How to import a GIT repository from Bonobo GIT Server into Visual Studio Team Services

    【讨论】:

    • 您能否提供有关如何部署自托管私有代理的参考资料?谢谢
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-04-30
    • 2021-10-11
    • 2021-12-14
    • 1970-01-01
    • 1970-01-01
    • 2021-03-05
    相关资源
    最近更新 更多