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

Fix regression in Platform API 0.10 #1204

Merged
merged 2 commits into from
Oct 3, 2023
Merged

Conversation

natalieparellano
Copy link
Member

@natalieparellano natalieparellano commented Sep 20, 2023

Summary

In lifecycle 0.17.0 we stopped writing reference in analyzed.toml during the generate phase when the run image was switched by extensions. This is because the restorer would "always" take the run image image and turn it into a reference. However the restorer was only doing this for Platform API 0.12 and above.

[run-image.image] isn't a thing in Platform API 0.10 so we have to write the image from extensions into reference and overwrite it with a real reference during restore.

Release notes

Fixes regression in Platform API 0.10 by writing reference in analyzed.toml during the generate phase when the run image was switched by extensions


Related

Resolves #___


Context

…toml after generate

Platform 0.10 expects to find the reference in analyzed.toml

Signed-off-by: Natalie Arellano <narellano@vmware.com>
@natalieparellano natalieparellano changed the title WIP Fix regression in Platform API 0.10 Oct 3, 2023
@natalieparellano natalieparellano marked this pull request as ready for review October 3, 2023 16:12
@natalieparellano natalieparellano requested a review from a team as a code owner October 3, 2023 16:12
Signed-off-by: Natalie Arellano <narellano@vmware.com>
@natalieparellano natalieparellano merged commit 7ce5b70 into main Oct 3, 2023
7 checks passed
@natalieparellano natalieparellano deleted the fix/platform-010 branch October 3, 2023 19:24
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.

2 participants