Aspnetcore.docs: Publish to Azure Web App with VSTS Build CI

Created on 22 May 2016  路  8Comments  路  Source: dotnet/AspNetCore.Docs

An article to outline Continuous Integration using Visual Studio Team Services with Build and/or Release features. I would see the doc outlining steps potentially being:

  1. Get and install dotnet on build servers with script from https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.ps1
  2. dotnet restore
  3. dotnet publish -c Release -o $(build.stagingDirectory)/MyProject
  4. Use powershell to zip contents of published folder
  5. Azure web app deployment using "Azure Web App Deployment" VSTS task with 'web deploy pacakge' as path of zipped folder from 3.

This doc could also outline an alternative between steps 3 and 4 to use "Publish Artifacts" and then use VSTS Release to do the release step

P1

Most helpful comment

I am working on a post. Should be out on DonovanBrown.com this weekend.

All 8 comments

Yup, this is something we definitely want to have. Are you offering to write it? :wink:

Yes @danroth27 am offering and will get started 馃槉

Was also checking no one had started work on such content. Plus happy for any feedback on the steps outlined above for writing said content myself.

@sayedihashimi @DarqueWarrior Can you guys take a look at the doc proposal above? Is there existing content already published for ASP.NET Core and VSTS that we can reference?

I am working on a post. Should be out on DonovanBrown.com this weekend.

I have started on a docs article here https://github.com/damienpontifex/Docs/blob/vsts-ci/aspnet/publishing/vsts-continuous-deployment.rst

Be aware, I have only outlined steps and am looking to refine the article and contents. Looking forward to seeing your article @DarqueWarrior for tips and improvements to my current workflow.

@damienpontifex How goes the doc writing? Is this still an article you would like to contribute?

@danroth27 yes. Updating now and including the fact that dotnet cli is now included on hosted build servers. Will try and get an initial PR soon

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sonichanxiao picture sonichanxiao  路  3Comments

davisnw picture davisnw  路  3Comments

danroth27 picture danroth27  路  3Comments

wgutierrezr picture wgutierrezr  路  3Comments

nenmyx picture nenmyx  路  3Comments