Deploying database changes to Cassandra
Blog post from Octopus Deploy
The blog post by Shawn Sesna discusses how to automate database deployments to a Cassandra server using Octopus Deploy and Liquibase, focusing on a sample project called Sakila. It highlights the use of a dbchangelog.xml file, which contains the necessary SQL commands for creating tables within a keyspace on a Cassandra server. The deployment process involves several steps, including sending start notifications, creating a keyspace if it does not exist, running Liquibase commands to update the database, and sending success or failure notifications. The post assumes familiarity with Octopus Deploy and introduces the Liquibase - Run Command template, which provides flexibility and supports various database types, including Cassandra. The deployment process is facilitated by automated notifications using Slack and optional DBA approval for reviewing SQL files before final execution. These procedures ensure that users can efficiently manage and verify database changes on Cassandra servers.