git - Continuous deployment to Dev/TestProd on Azure -
i have project consists of multiple components: 2 spa clients, 1 api, elasticsearch server, rabbitmq server, thinktecture identity server etc. etc. , deploy azure. code stored in git (bitbucket precise), in multiple repositories.
ideally, able deploy branches, i.e 1 test/staging environment, , production.
are there samples/tutorials available describe steps needed accomplish this?
regards, danĂel
let`s see if can offer helpful information:
azure app service great platform deploy spa clients , api web app.
azure app service come build-in continuous deployment support, included bitbucket, can build , deploy app. , support wide range of language (.net, nodejs, go, python, php, java , on ...)
another thing azre app service have slot feature, can setup ci staging slot, testing there, since swap prod deployment. if have settings/configurations specific slot, e.g different slot connect different database, can put them application settings, once create site, "https://portal.azure.com" -> "navigate site" -> "all setttings" -> "application settings", under app setting section, can specific slot specific settings, e.g database connection string dev slot use test database, , production slot use real one.
since using bitbucket, there "deploy azure" add-on, can deploy code pull request/branch, easy verifying code during code review
also there webjob feature can run background task utilize site compute power.
last not least, have app available globally across region, azure traffic manager great service, can hook web app azure app service , let traffic manager distribute request you.
deploy azure button in bitbucket:
update 2016-02-05 pst
azure app service support virtual directory, can deploy multiple apps 1 site. (https://azure.microsoft.com/en-us/documentation/articles/web-sites-configure/)
however, if choose this, default continuous deployment deploy 1 app , deploy wwwroot. enable continuous deployment deploy multiple app in 1 site have code own deployment script. (https://github.com/projectkudu/kudu/wiki/custom-deployment-script, http://blog.amitapple.com/post/38417491924/azurewebsitecustomdeploymentpart1)
Comments
Post a Comment