PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Wednesday, September 28, 2022

[FIXED] How do you organise 1 VS Team Services release definition for separate app and db deployment?

 September 28, 2022     azure-devops, continuous-deployment, database-deployment, web-deployment     No comments   

Issue

I have 2 different Visual Studio solutions. 1 for my asp.net web application and 1 for my database (dacpac). I have included the required deployment tasks under 1 release definition in order to publish my web app and database at the same time.

Now, I would like to have more flexibility and do the following; 1) Release web and db at the same time. 2) Release only web. 3) Release only db.

I do not want to create 3 separate release definitions to avoid any duplication and re-use the defined tasks as much as possible.

How could you achieve this?


Solution

You'll need to create different release definitions for each combo, there's no way around that. However, you can use task groups to create reusable groups of tasks related to each deployment.



Answered By - Daniel Mann
Answer Checked By - Pedro (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing