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

Add SOCI handler wrapper #3266

Merged
merged 1 commit into from
Aug 3, 2024

Conversation

sondavidb
Copy link
Contributor

Relevant: awslabs/soci-snapshotter#1329

As part of upgrading nerdctl to containerd v2, we must update dependencies to depend on v2 as well. As SOCI maintainers do not wish to upgrade to containerd v2 yet, this is a workaround to avoid depending on SOCI library.

We can revert this change if we wish once SOCI updates to containerd v2.

@apostasie
Copy link
Contributor

Thanks @sondavidb !

@AkihiroSuda wdyt?

I personally like this solution, and it feels like a good compromise.

As part of upgrading nerdctl to containerd v2, we must update
dependencies to depend on v2 as well. As SOCI maintainers do not wish to
upgrade to containerd v2 yet, this is a workaround to avoid depending on
SOCI library.

We can revert this change if we wish once SOCI updates to containerd v2.

Signed-off-by: David Son <[email protected]>
@sondavidb
Copy link
Contributor Author

sondavidb commented Aug 1, 2024

FWIW, we rarely change this function. Checking the history, the most recent commit that changed this was over a year ago (2023/6/29). So, if we are worried about drift, it should not be a notable issue.

@AkihiroSuda AkihiroSuda requested a review from ktock August 1, 2024 19:57
@AkihiroSuda AkihiroSuda added this to the v2.0.0 milestone Aug 1, 2024
Copy link
Member

@djdongjin djdongjin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@djdongjin djdongjin merged commit d864690 into containerd:main Aug 3, 2024
19 checks passed
@sondavidb sondavidb deleted the remove-soci-dependency branch August 5, 2024 16:59
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.

5 participants