Reputation: 3779
I'm trying to wrap my head around how we can configure our release management to use Environments. Let's say our architecture has an Angular front-end and WebApi projects that sit on the web server and a WCF project that sits on our app server (so 3 projects total). In addition, we have Test, Stage, and Production environments.
Am I correct in my understanding that we would create 1 Release definition with 3 environments. Would each environment definition consist of the tasks to deploy the necessary artifacts for all 3 projects to the necessary folders/servers for that environment?
Is this how it should work? The documentation isn't bad, but I need more of a real world, concrete example.
Upvotes: 0
Views: 391
Reputation: 33708
This scenario is similar to database and web tiers of an application.
These should be modeled as a single environment because you want the two to be in sync. If you model these as separate environments, you risk deploying one build to the database environment and a different build to the web tier environment.
Not clear about the relationship between WCF project with other projects. If Angular app needs retrieve data from WCF too, you can create a release definition with 3 environments (Test, Stage and Production), then the workflow will be like this:
If there isn’t the relationship between WCF project with other projects, you can create another release definition with 3 environments for this project.
Upvotes: 1