I am running version: 3.7.2
I have two environments the package will go through. Release-candidate (RC) and Live. the package will be pushed to RC and deployed to a single environment. There are a few steps in the process:
- determine app instance name
- ensure web app
- deploy web app
the first two are powershell scripts with Azure subscriptions enabled. They simply figure out the name of the web app and then ensure its created. The third is a “Deploy Web App” step.
The RC environment does not have any tenants, and it will deploy just fine. Live had two tenants Company1 and Company2. I want to promote the package from RC to deploy to Company2 only. I select the package from the overview and click “Promote to Live”. I select Tenants, Live env and the Company2 tenant. When I click Deploy Now I get:
There was a problem with your request.
Company2 has no deployment targets in Live. Un-tenanted targets cannot be used in tenanted deployments. Connect Company2 to a deployment target in Live.
Once you have corrected these problems you can try again.
If the problem is related to a variable you will need to update the variables for this release or recreate the release for the changes to take effect.
If the problem is related to the deployment process you will need to create a new release for the changes to take effect.
I am not sure how to connect it to a deployment target (I assume this means an environment) as the target is an Azure Web App VS an actual machine.
To make this more confusing This project is split into two parts, the API (.net API app) and the front end a NodeJS app. They are two separate packages and deployment process, but in essence they do pretty much the same thing, they create an Azure web app and deploy the code to them. The API will let me deploy to its Tenant in Live the Node app will not. I can not see what the difference is between them.
Can I get any advice, things to check, tutorials to follow to ensure I am doing this correctly please?
Jon