I have a scenario where i need to deploy a web app to a load balanced environment, and then push content to a cdn.
To accomplish the web app deploy, I have setup a rolling deployment to handle the push to multiple servers, disable load balancers etc.
When I try and setup the CDN deploy, I need it to exist outside the rolling deploy so it only happens once. So I set up a ‘Run an Azure PowerShell Script’, set it to run a script from a package, point it to the nuget feed and package id, and fill out any parameters.
When this runs, it can not find the package.
Thinking, okay, the package is on the webheads. So I set up a separate deploy process, setup the octo server as a tentacle, and deploy to itself and then run the azure script.
What I am I missing here? How is this scenario best handled?