Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs for Flyway Pro and Enterprise Edition usage #19

Open
axelfontaine opened this issue Feb 27, 2018 · 0 comments
Open

Add docs for Flyway Pro and Enterprise Edition usage #19

axelfontaine opened this issue Feb 27, 2018 · 0 comments

Comments

@axelfontaine
Copy link

axelfontaine commented Feb 27, 2018

The only two changes that are needed are:

Adding an S3 resolvers in project/project/plugin.sbt

addSbtPlugin("com.frugalmechanic" % "fm-sbt-s3-resolver" % "0.14.0")

Excluding the Community Edition flyway-core artifact in project/plugin.sbt and replacing it with the desired edition which will be downloaded from our private repo:

Pro:

s3CredentialsProvider := { (bucket: String) =>
  new com.amazonaws.auth.AWSStaticCredentialsProvider(new com.amazonaws.auth.BasicAWSCredentials("your-flyway-pro-user", "your-flyway-pro-password"))
}
resolvers += "Flyway Repo" at "s3://flyway-repo/release"
addSbtPlugin("io.github.davidmweber" % "flyway-sbt" % "5.0.0-RC2" exclude("org.flywaydb", "flyway-core"))
libraryDependencies += "org.flywaydb.pro" % "flyway-core" % "5.0.7"

Enterprise:

s3CredentialsProvider := { (bucket: String) =>
  new com.amazonaws.auth.AWSStaticCredentialsProvider(new com.amazonaws.auth.BasicAWSCredentials("your-flyway-enterprise-user", "your-flyway-enterprise-password"))
}
resolvers += "Flyway Repo" at "s3://flyway-repo/release"
addSbtPlugin("io.github.davidmweber" % "flyway-sbt" % "5.0.0-RC2" exclude("org.flywaydb", "flyway-core"))
libraryDependencies += "org.flywaydb.enterprise" % "flyway-core" % "5.0.7"

Please include this in the README and the manual.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant