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

Database deployments with Flyway and Octopus Execution Containers

Blog post from Octopus Deploy

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

Bob Walker's article discusses the use of Flyway and Octopus Deploy for database changes, highlighting the benefits of using execution containers, introduced in Octopus Deploy's 2020.2 release, to manage dependencies via Docker images. This method simplifies the deployment process by eliminating the need to bundle or pre-install tools like Flyway and the Java Runtime Engine, thereby reducing package bloat and version control issues. By utilizing execution containers, developers can specify Docker images with the necessary tools installed, allowing for more consistent and reliable deployments across teams. Walker provides a detailed walkthrough on setting up a deployment process with Octopus Deploy, including configuring variables, using the Flyway Database Migrations step template, and leveraging Docker Container Registries. He emphasizes the ease of transitioning to execution containers, particularly when using Octopus Cloud, and the advantages of maintaining a precise version of Flyway without the associated maintenance burden, ultimately aiming to enhance the robustness of the deployment pipeline.