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

tsr: add migration management #1137

Closed
fsouza opened this issue Mar 14, 2015 · 1 comment
Closed

tsr: add migration management #1137

fsouza opened this issue Mar 14, 2015 · 1 comment
Assignees
Milestone

Comments

@fsouza
Copy link
Contributor

fsouza commented Mar 14, 2015

Currently, when we have migrations between versions, we provide some script or use the start-up process to run the migration, we should provide a more decent process for running and tracking migrations between versions. We should be able to register and track execution of migration functions, allowing the user to run a command like tsr migrate.

Once we have this, we should convert the migrateImage stuff to a migration function.

Providing a --dry flag for this command would be awesome as well!

@cezarsa
Copy link
Member

cezarsa commented Mar 16, 2015

"--dry is considered harmful" - Abraham Lincoln

@fsouza fsouza self-assigned this Mar 16, 2015
fsouza pushed a commit that referenced this issue Mar 16, 2015
This package will manage migrations for us. Related to #1137.
fsouza pushed a commit that referenced this issue Mar 16, 2015
Also receive a writer for logging process.

Related to #1137.
fsouza pushed a commit that referenced this issue Mar 16, 2015
Instead of calling it in the provisioner initialization, it will be
called as a migration.

Related to #1137.
@fsouza fsouza closed this as completed in 4a3fcff Mar 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants