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

Evolve + Octopus #62

Closed
ben-foster-cko opened this issue May 3, 2018 · 2 comments
Closed

Evolve + Octopus #62

ben-foster-cko opened this issue May 3, 2018 · 2 comments
Labels

Comments

@ben-foster-cko
Copy link

Do you have any guidance on how to integrate Evolve with Octopus. It's likely that our migrations would be run as a standalone application and since there is no command line tool (yet), I'm curious how you would recommend doing this.

Also, is it possible to disable the MS Build task?

@lecaillon
Copy link
Owner

Ok, the easy question first :) To disable the MSBuild task:

  • For .NET Core projects, do not add any evolve.json file in your solution.
  • For .NET projects, do not add any Evolve.* keys in <appSettings> or let the Evolve.Command value empty.

I dont' know Octopus. But run you migrations in a standalone application seems fair. Do not use any configuration file. Use the in-app mode and pass a DbConnection to the Evolve constructor directly.

See this example as a starting point.

Any questions :) ?

@Pvlerick
Copy link
Contributor

@ben-foster-cko you can have a look at #16 and the discussion there. It is only a prototype for the moment (I lack time right now) but it is functional and I hope I'll soon be able to add the missing pieces so that we can include this is the main branch.

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

No branches or pull requests

3 participants