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

api: move migrations from v1.1.5 to v1.2.0 #1682

Merged
merged 1 commit into from Jul 30, 2021

Conversation

arnaldo2792
Copy link
Contributor

Issue number:
N / A

Description of changes:

f869526c api: move migrations from v1.1.5 to v1.2.0

This commit moves existing migrations from v1.1.5 to v1.2.0 they aren't executed on downgrade.

Testing done:

Upgrade/downgrade testing from 1.1.4 to 1.2.0:

bash-5.0# apiclient -u /os
{"pretty_name":"Bottlerocket OS 1.2.0","variant_id":"aws-dev","version_id":"1.2.0","build_id":"fd8e5006-dirty","arch":"x86_64"}
bash-5.0# signpost rollback-to-inactive
bash-5.0# reboot

#...

bash-5.0# apiclient -u /os
{"pretty_name":"Bottlerocket OS 1.1.4","variant_id":"aws-dev","version_id":"1.1.4","build_id":"1139ea0e","arch":"x86_64"}
bash-5.0# signpost rollback-to-inactive
bash-5.0# reboot

#...
bash-5.0# apiclient -u /os
{"pretty_name":"Bottlerocket OS 1.2.0","variant_id":"aws-dev","version_id":"1.2.0","build_id":"fd8e5006-dirty","arch":"x86_64"}

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.

This commit moves existing migrations from v1.1.5 to v1.2.0 they aren't
executed on downgrade.

Signed-off-by: Arnaldo Garcia Rincon <agarrcia@amazon.com>
@arnaldo2792 arnaldo2792 merged commit 0ed3d13 into bottlerocket-os:develop Jul 30, 2021
@arnaldo2792 arnaldo2792 deleted the fix-migration branch November 29, 2021 19:22
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.

None yet

4 participants