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

Move migrations to the autopilot #1735

Merged
merged 22 commits into from
Dec 16, 2024
Merged

Move migrations to the autopilot #1735

merged 22 commits into from
Dec 16, 2024

Conversation

peterjan
Copy link
Member

@peterjan peterjan commented Dec 10, 2024

This PR moves the migration code from the worker to the autopilot. The diff is already quite big so I decided to draw the line here, we definitely have to revisit the structure of the internal package a bit, and we have to cleanup a bunch of interfaces that got out of hand. Since we're moving the autopilot into the bus next I figured it's probably best to do it then.

In short:

  • autopilot has a new migrator package
  • added migrator section to the config
  • contract spending moved to internal
  • account manager moved to internal
  • host manager moved to internal
  • remove all migration code from worker

@peterjan peterjan self-assigned this Dec 10, 2024
autopilot/autopilot.go Outdated Show resolved Hide resolved
@peterjan peterjan marked this pull request as ready for review December 10, 2024 14:30
README.md Outdated Show resolved Hide resolved
autopilot/autopilot.go Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
autopilot/migrator/accounts.go Show resolved Hide resolved
autopilot/migrator/migrator.go Show resolved Hide resolved
autopilot/migrator/migrator.go Outdated Show resolved Hide resolved
Base automatically changed from its-happening to dev December 12, 2024 11:28
ChrisSchinnerl
ChrisSchinnerl previously approved these changes Dec 12, 2024
@ChrisSchinnerl ChrisSchinnerl merged commit 6437bb1 into dev Dec 16, 2024
18 checks passed
@ChrisSchinnerl ChrisSchinnerl deleted the pj/move-migrations branch December 16, 2024 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants