6. Deploying Via CI/CD Platforms
Published 05 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.
Remember: If you need a trial key for Flyway Enterprise, you're in luck! You can easily get a free trial to explore the full range of features, onboard your team, or understand our offerings better via Flyway AutoPilot. Simply visit here to start your free trial today. If you have a contact at Redgate, you can also request a trial key for Flyway AutoPilot directly from them. Alternatively, you can reach out to the AutoPilot team at flywayap@red-gate.com for a license.
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.