I have an Azure Cosmos DB stored procedure and I want it to be included in my Continuous Integration scripts so that it deploys with the solution when the database is deployed. I'm using VSTS to handle my deployments. I'm guessing I have to use a powershell script to deploy the stored procedure in the release. Are there any good examples out there on how to deploy the stored procedures along with the cosmos dbs?
Asked
Active
Viewed 1,308 times
0

José Pedro
- 1,097
- 3
- 14
- 24

Corey Witherow
- 2,472
- 2
- 26
- 37
-
How do you deploy database through VSTS? You can manage stored procedure through Azure PowerShell: https://github.com/PlagueHO/CosmosDB#working-with-stored-procedures – starian chen-MSFT Jun 20 '18 at 05:19
1 Answers
0
After a little more digging, I finally found a good answer. This blog post has all you need to deploy your Cosmos Db stored procedures.

Corey Witherow
- 2,472
- 2
- 26
- 37