All Projects → flyway → Flyway Sbt

flyway / Flyway Sbt

Licence: apache-2.0
Flyway SBT plugin

Programming Languages

scala
5932 projects

Projects that are alternatives of or similar to Flyway Sbt

Liquibase
Main Liquibase Source
Stars: ✭ 2,910 (+2781.19%)
Mutual labels:  sql, database-migrations, database, devops, continuous-delivery, continuous-deployment
chuckwagon
a Scala/sbt AWS Lambda Toolkit
Stars: ✭ 29 (-71.29%)
Mutual labels:  sbt, continuous-delivery, continuous-deployment, sbt-plugin
Flyway Docker
Official Flyway Docker images
Stars: ✭ 123 (+21.78%)
Mutual labels:  database-migrations, database, continuous-delivery, continuous-deployment
Lol dba
lol_dba is a small package of rake tasks that scan your application models and displays a list of columns that probably should be indexed. Also, it can generate .sql migration scripts.
Stars: ✭ 1,363 (+1249.5%)
Mutual labels:  sql, database-migrations, database
Dyn365 Ce Devops
DevOps for Dynamics 365 Customer Engagement (CE) is becoming a popular topic. The goal of this project is to help Dynamics 365 CE solution builders understand and accelerate their implementation of DevOps practices with Dynamics CE and VSTS.
Stars: ✭ 82 (-18.81%)
Mutual labels:  devops, continuous-delivery, continuous-deployment
Unleash
Unleash is the open source feature toggle service.
Stars: ✭ 4,679 (+4532.67%)
Mutual labels:  devops, continuous-delivery, continuous-deployment
Goose
A database migration tool. Supports SQL migrations and Go functions.
Stars: ✭ 2,112 (+1991.09%)
Mutual labels:  sql, database, database-migrations
Hygieia
CapitalOne DevOps Dashboard
Stars: ✭ 3,682 (+3545.54%)
Mutual labels:  devops, continuous-delivery, continuous-deployment
Cds
Enterprise-Grade Continuous Delivery & DevOps Automation Open Source Platform
Stars: ✭ 3,677 (+3540.59%)
Mutual labels:  devops, continuous-delivery, continuous-deployment
Devops Readme.md
What to Read to Learn More About DevOps
Stars: ✭ 398 (+294.06%)
Mutual labels:  devops, continuous-delivery, continuous-deployment
Agola
Agola: CI/CD Redefined
Stars: ✭ 783 (+675.25%)
Mutual labels:  devops, continuous-delivery, continuous-deployment
flyway-ant
Flyway Ant tasks
Stars: ✭ 14 (-86.14%)
Mutual labels:  continuous-delivery, continuous-deployment, database-migrations
Sbt Dependency Check
SBT Plugin for OWASP DependencyCheck. Monitor your dependencies and report if there are any publicly known vulnerabilities (e.g. CVEs). 🌈
Stars: ✭ 187 (+85.15%)
Mutual labels:  sbt, sbt-plugin, devops
Argo Cd
Declarative continuous deployment for Kubernetes.
Stars: ✭ 7,887 (+7708.91%)
Mutual labels:  devops, continuous-delivery, continuous-deployment
Dyn365 Ce Vsts Tasks
VSTS Extension for Dynamics 365 Customer Engagement
Stars: ✭ 94 (-6.93%)
Mutual labels:  devops, continuous-delivery, continuous-deployment
Jenkins
Jenkins automation server
Stars: ✭ 18,225 (+17944.55%)
Mutual labels:  devops, continuous-delivery, continuous-deployment
Rocket
Automated software delivery as fast and easy as possible 🚀
Stars: ✭ 217 (+114.85%)
Mutual labels:  devops, continuous-delivery, continuous-deployment
Piplin
📤 An open source self-hosted continuous integration and deployment system - QQ群: 656868
Stars: ✭ 1,044 (+933.66%)
Mutual labels:  devops, continuous-delivery, continuous-deployment
Shmig
Database migration tool written in BASH.
Stars: ✭ 408 (+303.96%)
Mutual labels:  sql, database-migrations, devops
Express Knex Objection
A simple API system on a pg database, using knex and objection to simplify connection and management
Stars: ✭ 20 (-80.2%)
Mutual labels:  sql, database-migrations, database

Scala CI Maven Central

Sbt 1.x plugin for Flyway

Welcome to the home for the sbt v1.x plugin for flyway. The user manual will tell you how to get started. This project is based on the original flyway-sbt that was in the flyway repository through version 4.2.1.

Maintenance

This repository is a community project and not officially maintained by the Flyway Team at Redgate. This project is looked after only by the open source community. Community Maintainers are people who have agreed to be contacted with queries for support and maintenance. Community Maintainers:

If you would like to be named as an Community Maintainer, let us know via Twitter: https://twitter.com/flywaydb.

Getting started

Adding Flyway to your build is very easy. First, update to your project/plugin.sbt file to include:

 addSbtPlugin("io.github.davidmweber" % "flyway-sbt" % "7.4.0")

Please check out Maven Central for versions of flyway-sbt for previous versions of Flyway.

Edit build.sbt to enable the plugin and configure the database access:

enablePlugins(FlywayPlugin)
version := "0.0.1"
name := "flyway-sbt-test1"

libraryDependencies += "org.hsqldb" % "hsqldb" % "2.5.0"

flywayUrl := "jdbc:hsqldb:file:target/flyway_sample;shutdown=true"
flywayUser := "SA"
flywayPassword := ""
flywayLocations += "db/migration"
flywayUrl in Test := "jdbc:hsqldb:file:target/flyway_sample;shutdown=true"
flywayUser in Test := "SA"
flywayPassword in Test := ""

Migrate your database using sbt flywayMigrate or clean it using sbt flywayClean.

Note that the flywayTarget setting has been disabled due to this bug.

Building and testing

Build and testing uses sbt and it's plugin testing framework. The test cases are pretty basic (hint: we need more of those). There is no support for sbt prior to 1.0. Use the legacy plugin instead.

Note that from v5.0.0 onwards, the plugin has to be explicitly enabled using enablePlugins(FlywayPlugin). This prevents Flyway actions triggering unrelated build activity and addresses this issue.

Build and test the plugin using

sbt scripted

Early adopters should just publish a clone or fork of this repository locally:

git clone https://github.com/flyway/flyway-sbt.git
cd flyway-sbt
sbt publishLocal
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].