feat: add nerdctl Compose runner with stargz support#807
Merged
Conversation
Collaborator
Author
|
Addressed the two pending review notes in
Yocto validation after the changes:
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
nerdctl-composeapp runner, separate from the existingdocker-composerunnernerdctl-composeto selectoverlayfs(default) orstargz; reject snapshotter configuration for other runnersctr-remote rpull, including Docker-config registry credentials, before starting them with nerdctl--runnerand--snapshotterondstack deployand update Rust/Go/Python/JS compose-hash typesExample
Validation
cargo check -p dstack-types -p dstack-util -p dstack-cli-core -p dstack-clitargeted Rust tests for manifest version, snapshotter validation, parsing, and manifest generation
Python compose-hash tests: 16 passed
JavaScript compose-hash tests: 31 passed
Go SDK compile-only test
shell syntax checks for guest boot scripts
mocked end-to-end dispatch test verifying
ctr-remote rpullandnerdctl compose --pull neverBitBake parsed 10,095 recipes with zero errors
bitbake -c fetch stargz-snapshottersucceeded (including release checksum validation)bitbake mc:prod:dstack-rootfssucceeded (6,775 tasks)reproducibility verified across three rootfs emissions: CPIO, squashfs, and squashfs.verity hashes are byte-identical