Hello,
I have an app that is hosted in Azure as a Cloud App. The Project builds using the following MSBuild commands:
/p:Configuration=Release /p:DeployOnBuild=true /p:DeployTarget=Package /p:RunOctoPack=true
However the output of the Octopacked file is not a .cskpg. Meaning that it cannot be deployed via the Deploy Cloud app step?
Is the an MSBuild command that I missing to do this as there is no reference to this in the documentation.
Thanks,
Daniel
robpearson
(Rob Pearson)
February 8, 2016, 4:57am
2
Hi Daniel,
Thanks for getting in touch. Unfortunately, octopack can’t be used to package Azure cloud services. The cspkg packages need to be built first and then wrapped in a NuGet package. The following documentation pages covers this a bit better. The Azure Cloud service guide is excellent!
http://docs.octopus.com/display/OD/Cloud+Services
http://docs.octopusdeploy.com/display/OD/Deploying+a+package+to+an+Azure+Cloud+Service
One thing to note is that there are more options to do this in Octopus 3.3 (currently in beta) as we’ve added support for ZIP and a number of other package formats. The following documentation page has more on this. http://docs.octopusdeploy.com/display/OD/Supported+Packages
Hope this helps.
Rob