Skip to content

A set of aliases for Cake to run Flyway commands

License

Notifications You must be signed in to change notification settings

buthomas/Cake.Flyway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cake.Flyway

A set of aliases for Cake to run Flyway commands

Information

Build Status

Branch Status
Master Build status
Develop Build status

Code Coverage

Branch codecov
Master codecov
Develop codecov

Nuget

NuGet

Licence

License

Usage

Build the Cake.Flyway.dll then use as follows

#addin "Cake.Flyway"

Task("Flyway")
    .Does(() => {
        // new Flyway configuration
        var configuration = new FlywayConfiguration {
            Url = "jdbc:sqlserver:////<host>:<port>;databaseName=<database>",
            User = "<user>",
            Password = "<password>"
        }

        // flyway info
        FlywayInfo(new FlywayInfoSettings {
            Configuration = configuration;
        });

        // flyway migrate
        FlywayMigrate(new FlywayMigrateSettings {
            Configuration = configuration;
        });
    });

Scope

Cake.Flyway currently supports the following commands of Flyway:

  • flyway migrate
  • flyway clean
  • flaway info
  • flaway validate
  • flyway baseline
  • flaway repair

The Flyway Pro features are currently not supported.

About

A set of aliases for Cake to run Flyway commands

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published