List Of Deployed Objects
ChrisM
Posts: 10 New member
We are using DLM Automation in TeamCity and Octopus Deploy for deploying our databases. Does anyone know if there is an easy way to get a simple list of the objects that were actually created, updated or deleted by Octopus Deploy during the deployment process? The Changes.html file is produced, but that's more of a visual thing, is there any way to get this list in a plain text file for instance?
Thanks,
Chris.
Thanks,
Chris.
Tagged:
Comments
Unfortunately DLM Automation can't do this at the moment so I've made a note of this on our system as a feature suggestion.
If your need for the list is related to keeping track of schema changes, have you considered trying DLM Dashboard?
Redgate Software
Is there any way that I could write a powershell script to retrieve a list of objects that have been affected? I can't see anywhere that such a list is exposed in Octopus Deploy, but I'm sure there are people out there with much more experience in this area than me.
There are collections named createdObjects, droppedObjects, modifiedObjects and identicalObjects - you could pull the object names out of here if you wanted to. I'm not sure how to go about writing a Powershell script to do this, but it may well be possible.
Redgate Software
Thanks,
Chris.
Redgate Software
Use case:
My customer has about 20 DBs. All tightly coupled so deployed within the same uber Octopus project. 20 changes.html files is annoying if only 2 or 3 DBs have been updated. I want to be able to only upload the relevant changes.html files as artifacts.
I'm guessing the answer is the same, parse the JSON, but a simpler solution would be appreciated. :-)
DevOps Mentor and Coach
Director of DLM Consultants
Creator of Speaking Mentors
Microsoft Data Platform MVP
Friend of Redgate
Twitter / LinkedIn