I’m a bit confused by the intended workflow. So I’ve got:
BUILD01 Build Server - TeamCity and Octopus Deploy installed
ENVIRONMENTS
- DEV : (DEV01 Server - Windows 2012 VM with Web Server Role for dev testing, OD Tentacle installed)
- QA : (QA01 - Windows 2012 VM with Web Server Role for QA testing, OD Tentacle installed)
- UAT : (UAT01 - Windows 2012 VM with Web Server Role for UAT testing, OD Tentacle installed)
- AZUREPROD : (Azure Website on Azure for production)
So everything’s been going great through DEV, QA, UAT and now it’s time to configure deployment to Azure to get our new Production going. I understand that I need to install a OD Tentacle somewhere to be the thing that does the work so I installed a Tentacle on BUILD01. So then I start to configure the AZUREPROD environment, I add in BUILD01, and I create a new “role” of Azure where DEV01, QA01, and UAT01 all have the role of Web. Here’s where things get sketchy for me. I have 3 existing projects that are deploying my 3 website projects (Web, API, and Admin) to DEV, QA and UAT like a champ. I go to my existing Web project and I see that Step 1 is a “Deploy a Nuget Package” that’s not going to get the job done for my AZUREPROD, so I add Step 2, a “Web Deploy - Publish Website” step and give it all my credentials from Azure. I assign this to only Azure roles and tell it to use the Package step name from Step 1. I added the Web role to my AZUREPROD machine because otherwise it said it would skip Step 1. I create a release and… it fails. It appears to be trying to copy everything to the server that the Tentacle is installed on (BUILD01), which doesn’t have the Web Server role (i.e. no IIS installed). I guess I get that, but is this really what needs to happen? It just seems I’m doing it wrong. I’m sure I’m missing something very obvious.
Any help will be greatly appreciated.