Repository navigation
Bump up stargz-snapshotter to v0.19.0 #5264
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
Open
ktock
wants to merge
4
commits into
containerd:main
Choose a base branch
from
ktock:bumpup-stargz
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+315
−20
Open
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| 696487c151b275bfc7818dcaba4eaadd40b8c4a8f87a60af919d8967f2e31ea1 stargz-snapshotter-v0.19.0-linux-amd64.tar.gz | ||
| 7b2e32dca387b50c0a4930defa7925262cd7e271ab1e01b494fba337c534c918 stargz-snapshotter-v0.19.0-linux-arm64.tar.gz | ||
| f1cf855870af16a653d8acb9daa3edf84687c2c05323cb958f078fb148af3eec stargz-snapshotter.service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,7 +10,7 @@ require ( | |
| github.com/containerd/cgroups/v3 v3.1.3 //gomodjail:unconfined | ||
| github.com/containerd/console v1.0.5 //gomodjail:unconfined | ||
| github.com/containerd/containerd/api v1.12.0 //gomodjail:unconfined | ||
| github.com/containerd/containerd/v2 v2.4.1 //gomodjail:unconfined | ||
| github.com/containerd/containerd/v2 v2.4.2 //gomodjail:unconfined | ||
| github.com/containerd/continuity v0.5.0 //gomodjail:unconfined | ||
| github.com/containerd/errdefs v1.0.0 | ||
| github.com/containerd/fifo v1.1.0 //gomodjail:unconfined | ||
|
|
@@ -20,9 +20,9 @@ require ( | |
| github.com/containerd/nerdctl/mod/tigron v0.0.0 //gomodjail:unconfined | ||
| github.com/containerd/nydus-snapshotter v0.16.1 //gomodjail:unconfined | ||
| github.com/containerd/platforms v1.0.0-rc.5 //gomodjail:unconfined | ||
| github.com/containerd/stargz-snapshotter v0.18.2 //gomodjail:unconfined | ||
| github.com/containerd/stargz-snapshotter/estargz v0.18.2 //gomodjail:unconfined | ||
| github.com/containerd/stargz-snapshotter/ipfs v0.18.2 //gomodjail:unconfined | ||
| github.com/containerd/stargz-snapshotter v0.19.1-0.20261021040618-950b4ccca10e //gomodjail:unconfined | ||
| github.com/containerd/stargz-snapshotter/estargz v0.19.1-0.20261021040618-950b4ccca10e //gomodjail:unconfined | ||
| github.com/containerd/stargz-snapshotter/ipfs v0.19.1-0.20261021040618-950b4ccca10e //gomodjail:unconfined | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ktock Can you release v0.19.1 ? |
||
| github.com/containerd/typeurl/v2 v2.3.0 | ||
| github.com/docker/cli v29.8.2+incompatible //gomodjail:unconfined | ||
| github.com/docker/go-connections v0.8.1 //gomodjail:unconfined | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| /* | ||
| Copyright The containerd Authors. | ||
|
|
||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||
| you may not use this file except in compliance with the License. | ||
| You may obtain a copy of the License at | ||
|
|
||
| http://www.apache.org/licenses/LICENSE-2.0 | ||
|
|
||
| Unless required by applicable law or agreed to in writing, software | ||
| distributed under the License is distributed on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| See the License for the specific language governing permissions and | ||
| limitations under the License. | ||
| */ | ||
|
|
||
| package imgutil | ||
|
|
||
| import ( | ||
| "context" | ||
| "fmt" | ||
|
|
||
| containerd "github.com/containerd/containerd/v2/client" | ||
| "github.com/containerd/containerd/v2/core/remotes" | ||
| "github.com/containerd/stargz-snapshotter/service/verifier" | ||
|
|
||
| "github.com/containerd/nerdctl/v2/pkg/referenceutil" | ||
| ) | ||
|
|
||
| // stargzVerifier normalizes ref (e.g., adds the default tag) because the underlying | ||
| // verifier requires a tag or a digest. It is linux-only: stargz-snapshotter's service package depends on | ||
| // linux-only containerd packages (e.g., overlayutils). | ||
| func stargzVerifier(ctx context.Context, client *containerd.Client, ref string, resolver remotes.Resolver) error { | ||
| parsed, err := referenceutil.Parse(ref) | ||
| if err != nil { | ||
| return fmt.Errorf("failed to parse image reference %q: %w", ref, err) | ||
| } | ||
| return verifier.VerifyImage(ctx, client, parsed.String(), resolver) | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this helper function is useful for non-stargz tests, it should be moved out of
*_stargz_*_test.go