Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure Cloud Services and Git continuous deployment?

Is there a way by which I can use Git not only as a code repository but also for a build and continuous deployment to Azure (Cloud service, NOT web site)? I suspect not given the missing build environment unless but want to confirm this before writing it off.

In theory I can see having Git hosted on a Windows server that also does the build and deployment - not sure if anyone has reduced this to practice.

like image 253
DeepSpace101 Avatar asked Aug 22 '12 08:08

DeepSpace101


People also ask

How do you do continuous deployment in Azure?

If you want to deploy from a different user's repository, select Change Account. For Bitbucket, select the Bitbucket Team, Repository, and Branch you want to deploy continuously. Select Save. New commits in the selected repository and branch now deploy continuously into your App Service app.

How do I deploy a Git repository to Azure?

In the Azure portal, navigate to your app's management page. From the left menu, select Deployment Center > Settings. Select Local Git in Source, then click Save.

How do you automate deployment process in Azure?

Automate as many processes as possible To automate provisioning of Azure resources, you can use Terraform, Ansible, Chef, Puppet, Azure PowerShell, Azure CLI, or Azure Resource Manager templates. To configure VMs, you can use cloud-init (for Linux VMs) or Azure Automation State Configuration (DSC).


2 Answers

Update : This is now possible

http://www.windowsazure.com/en-us/documentation/articles/cloud-services-continuous-delivery-use-vso/#step6

Working like charm with both git and tfs.

like image 58
Illuminati Avatar answered Sep 18 '22 11:09

Illuminati


There is support in the new management portal for directly publishing "Web Sites" from Git, but not for Cloud Services as you have already noticed. However, there is support for doing that with TFS. There is currently a free TFS hosted preview available, and I have a blog post that walks through configuring Continuous Integration with Azure Web Sites and TFS Preview. The process is nearly identical for a Cloud Service.

like image 30
BStateham Avatar answered Sep 20 '22 11:09

BStateham