-
Notifications
You must be signed in to change notification settings - Fork 1
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
Use "transitions" as the workflow handler #45
Conversation
This adapts the logic how modules are loaded and sorted for execution. Signed-off-by: Tobias Wolf <[email protected]>
Signed-off-by: Tobias Wolf <[email protected]>
Preflights have to be run for all modules before the execution tasks are run. This is because we want to validate all module requirements to abort the migration before we do anything, if something goes wrong. |
This changes the way `preflight()` and `execute()` (formerly `run()`) methods are executed by "transitions". Additionally use Python's "pickle" formatted file to store arbitrary state data. Signed-off-by: Tobias Wolf <[email protected]>
I restructured the internal handling of |
Signed-off-by: Tobias Wolf <[email protected]>
Signed-off-by: Tobias Wolf <[email protected]>
Signed-off-by: Tobias Wolf <[email protected]>
Signed-off-by: Tobias Wolf <[email protected]>
This PR replaces the home-grown workflow handler with "transitions" [1] to sort and execute modules in a specifc order.
Closes #3
[1] https://github.com/pytransitions/transitions