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

feat: specify no-trunc for full snapshot ID #201

Conversation

austinvazquez
Copy link
Member

@austinvazquez austinvazquez commented Dec 25, 2024

Issue #, if available:
#200

Description of changes:
This change adds --no-trunc option for image history tests which expect the full sha256 snapshot ID. Starting in nerdctl 2.0, image history command not specified with no truncation option will display a shorter snapshot ID. This test should continue to work against older Finch versions which have support for --no-trunc option.

austin@nimbus:~/workspace/nerdctl$ nerdctl image history --format "{{.Snapshot}}" alpine:3.19
<missing>
sha256:ba79b2c0127890636a791eb3ec3993cce08a5…

Testing done:
Ran test in runfinch/finch-core#472

  • I've reviewed the guidance in CONTRIBUTING.md

License Acceptance

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@austinvazquez austinvazquez force-pushed the specify-image-history-no-trunc-for-full-snapshot-id branch from d970c23 to a889e39 Compare December 25, 2024 23:49
@austinvazquez austinvazquez force-pushed the specify-image-history-no-trunc-for-full-snapshot-id branch from a889e39 to 1fb9890 Compare December 25, 2024 23:52
@austinvazquez austinvazquez merged commit c32f6bf into runfinch:main Dec 27, 2024
4 checks passed
@austinvazquez austinvazquez deleted the specify-image-history-no-trunc-for-full-snapshot-id branch December 27, 2024 23:33
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