Home / Companies / Octopus Deploy / Blog / Post Details
Content Deep Dive

Database deployment automation using state-based Redgate SQL Change Automation

Blog post from Octopus Deploy

Post Details
Company
Date Published
Author
Bob Walker
Word Count
2,129
Language
English
Hacker News Points
-
Summary

Bob Walker's blog post offers a comprehensive guide on setting up an automated database deployment pipeline using Redgate's SQL Change Automation and Octopus Deploy. He emphasizes the benefits of automation, such as improved auditing and version control, while outlining the necessary tools and configurations needed to execute a successful proof of concept. The process involves using a state-based approach to compare the database state stored in a NuGet package with the target database, generating delta scripts for deployment. Walker details each step of the configuration for both Octopus Deploy and build servers like TeamCity and VSTS/TFS, including setting up the developer workstation, configuring the CI/CD pipeline, and implementing a jump box for enhanced security. The tutorial also includes practical advice on managing schema changes and ensuring manual verification for added reliability during initial implementations. Overall, the piece underscores the long-term advantages of automating database deployments, despite the initial setup effort required.