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

Migration: build system integration #90

Closed
4 tasks done
tjkirch opened this issue Jul 22, 2019 · 2 comments
Closed
4 tasks done

Migration: build system integration #90

tjkirch opened this issue Jul 22, 2019 · 2 comments
Assignees
Labels
type/enhancement New feature or request

Comments

@tjkirch
Copy link
Contributor

tjkirch commented Jul 22, 2019

  • Figure out which migrations should be built and included in the image (could start with a hardcoded list we keep up to date?)
  • Build the relevant migrations during the build process, each of which will be a Cargo project in a directory under workspaces/api/migration/migrations/vX.Y
  • Rename the built binaries to include the version from the path (see above) to fit migration conventions. (The final name would be invalid to Cargo, so it must be a rename.)
  • Install the migrations to /var/lib/thar/datastore/migrations in the image.
@sam-aws
Copy link
Contributor

sam-aws commented Oct 2, 2019

Are all these points covered by #125?

@tjkirch tjkirch added the type/enhancement New feature or request label Oct 2, 2019
@tjkirch
Copy link
Contributor Author

tjkirch commented Oct 2, 2019

Yep, thanks again @sam-aws!

@tjkirch tjkirch closed this as completed Oct 2, 2019
Data store migrations automation moved this from To do to Done Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement New feature or request
Projects
No open projects
Development

No branches or pull requests

2 participants