Azure外部GIT部署不会要求提供凭据
我只是在Azure中创建一个网站,但是在设置GIT部署时遇到了问题.我在菜单中选择从源代码管理设置部署",然后选择外部存储库"类型.目前,我的所有存储库都位于代码库"中.因此,我选择了一个外部GIT存储库.问题是创建将不会要求用户名和/或密码.由于这个原因,我在克隆上有错误.
I just create a website in Azure but i have problems while setting up the GIT deployment. I selected the "Set up deployment from source control" in the menu and picked type "External repository". At the moment i have all my repos at "codebase". So i selected an external GIT repo. The problem is that the creation wont ask for an username and/or password. Due this reason i have errors on the clone.
DEPLOYMENT FAILED: woensdag 18 december 2013 14:22
Fetch from https://username.codebasehq.com/projectname/projectname.git
ID: temp-1db5d AUTHOR: N/A
DEPLOYED BY: username.codebasehq.com
Azure部署日志:
And the Azure deployment log:
remote: Authentication Required
fatal: Authentication failed for 'https://username.codebasehq.com/projectname/projectname.git/'
D:\Program Files (x86)\Git\bin\git.exe fetch external --progress
请注意,即使可行,外部存储库在将更改推送到代码库时也不会导致自动部署,并且需要在Azure门户中单击同步"按钮
Note that even if it worked, External Repository would not cause automatic deployments when you push changes to codebase, and you need to click a Sync button in the Azure portal.
Kudu(Azure中的git引擎)具有一些基本的代码库支持(这里).请注意,Azure并不正式支持此功能,您可能是第一个尝试使用它的人:)
Kudu (the git engine in Azure) has some basic Codebase support (here), but no support in the Azure portal. It is possible to manually set it up, but there are a number of steps involved (some related info here). Do note that this is not officially supported in Azure, and you may be the first to try it :)