Skip to content

Conversation

@webern
Copy link
Contributor

@webern webern commented Jul 2, 2020

Issue number:

Closes #954
Related to #961

Description of changes:

Removes support for unsigned datastore migrations. CAUTION: this code is incompatible with versions less than 0.4.0. See #961 regarding strategy for ensuring hosts do not try to upgrade or downgrade to an incompatible version of Bottlerocket.

Testing done:

Created a test migration that adds a setting "foo" with value "bar".
Ran an instance, upgraded to a higher version that included the test migration, downgrade back to original version. Along the way I verified that a pod could run, and that the migration actually ran (and affected the "foo" setting).

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

@webern webern marked this pull request as ready for review July 7, 2020 16:56
@webern webern merged commit 9085f6f into bottlerocket-os:develop Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove deprecated migration handling code

3 participants