6. Deploying Via CI/CD Platforms
Published 09 September 2024
Now that you’ve generated your migration scripts and committed them to your version control, the final step is to configure continuous integration and deployment (CI/CD) for your Flyway AutoPilot project. This will ensure that database changes are automatically deployed across environments, giving you full automation and version control.
Choose Your CI/CD Tool:
Depending on where you created your repository—GitHub or Azure DevOps—you’ll need to follow the corresponding guide to configure the CI/CD pipeline. Both options support fully automated deployments, so you can choose the platform that best suits your workflow.
Option 1: Set Up CI/CD with GitHub Actions
If your repository is hosted on GitHub, follow this guide to configure GitHub Actions for automated deployment. GitHub Actions allows you to build, test, and deploy directly from your GitHub repository using workflows designed to handle your Flyway AutoPilot project.
GitHub Actions provides seamless integration and is ideal for teams already using GitHub for their development workflows.
Key Features:
- Pre-configured workflows for Flyway AutoPilot
- Automatic database migration and deployment
- Easy integration with GitHub’s version control
Go to the GitHub Actions Setup Guide →
Option 2: Set Up CI/CD with Azure DevOps
If your repository is hosted on Azure DevOps, follow this guide to configure Azure Pipelines for automated deployment. Azure DevOps provides robust CI/CD capabilities that integrate directly with Flyway AutoPilot, ensuring your database changes flow seamlessly through your environments.
Azure DevOps is ideal for teams using Microsoft's development ecosystem or those preferring a more extensive CI/CD platform.
Key Features:
- Pre-configured pipelines for Flyway AutoPilot
- Full integration with Azure DevOps for managing builds and deployments
- Support for automated testing and monitoring
Go to the Azure DevOps Setup Guide →
What’s Next?
Once you’ve selected your CI/CD platform, follow the corresponding guide to configure your pipeline. With everything in place, Flyway AutoPilot will automatically apply your migration scripts across environments, making your deployment process more efficient and reliable.