continuous-integration - 为什么 Azure 门户的部署中心中没有外部 git 存储库的选项?

标签 continuous-integration azure-web-app-service azureportal azure-appservice

我在 azure 门户 中创建了一个应用服务,并希望使用外部 git 存储库配置 ci/cd。在文档中提到有一个选项可以使用外部 git 存储库,但在我的情况下我找不到这个选项。我尝试完全按照 documentation 中提到的方式创建应用程序服务 :

enter image description here

这是我在天蓝色门户中查看部署中心的方式:

enter image description here

最佳答案

我们成功了 - 在这里发布我的答案,以防其他人遇到这种情况。我必须使用 windows 操作系统 创建服务应用程序。似乎在 Linux 操作系统 中,部署中心将仅启用 FTP 选项(默认情况下)。 使用windows操作系统创建服务应用程序后,它工作正常,我能够在部署中心看到所有选项,而无需任何进一步的配置。

enter image description here

以下是微软的声明:

使用不受支持的存储库

对于 Windows 应用,您可以从门户不直接支持的云 Git 或 Mercurial 存储库(例如 GitLab)手动配置持续部署。您可以通过选择部署中心页面中的“外部”框来完成此操作。有关详细信息,请参阅使用手动步骤设置持续部署。 https://learn.microsoft.com/en-us/azure/app-service/deploy-continuous-deployment

关于continuous-integration - 为什么 Azure 门户的部署中心中没有外部 git 存储库的选项?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61870927/

相关文章:

maven - 如何使用 Maven 持续构建和部署功能分支?

.net - 数据库单元测试。对于运行 CI、具有分支和重型数据库的企业解决方案,最好的数据库测试方法是什么?

go - 我可以向 Visual Studio Team Services 添加 Golang 编译器吗

azure - 将 Flask 应用程序部署到 Azure 时出现 WSGI 错误

azure - 如何通过 Portal.azure.com 将用户添加到我的 AAD 租户?

c# - Azure Cosmos DB 选择 min(int field) 返回 0

azure-active-directory - Azure 门户 : Bad Request - Request Too Long

linux - 在 Linux 上为 Windows 每晚构建

azure - 在azure windows webapp中使用azure cli设置dotnet core版本

asp.net - 加密 Azure 网站中的数据库连接字符串