Configuring Databases from CI/CD
Get a brief introduction on how to write a tool to configure Cosmos DB from a CI/CD pipeline.
We'll cover the following
Introduction
When our solution grows, especially in a microservices architecture, it’s hard to maintain the persistence layer in sync with the apps or clients. In the case of multiple deployment environments, maintaining persistence is intractable.
It would be nice to have a solution to apply database changes when applications are deployed with a CI/CD pipeline.
A simple solution is to create a console application that lives in the build agent, takes a Cosmos DB definition file from the app repositories, and applies changes.
Get hands-on with 1400+ tech skills courses.