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

Image sources #52

Merged
merged 3 commits into from
Mar 17, 2022
Merged

Image sources #52

merged 3 commits into from
Mar 17, 2022

Conversation

fw2568
Copy link
Member

@fw2568 fw2568 commented Mar 3, 2022

Added image local and remote sources support. Solves a large part of #10.

  • images can now be packaged from a exported virtual machine
  • added feature to download images from remote repositories and to cache them locally.

short image spec

  • a VM image is has a owner org, a identifier and a tag
  • it consists either of artifacts or a reference to another image

artifacts

  • artifacts are identified by sha256 hashes of their manifest
  • artifacts could contain a directory structure or a single file (like a vhd)
  • artifacts for directories are zip/deflate compressed, single file artifacts are xz/lzma compressed
  • artifacts are splitted into chunks (128 GB currently)
  • each chunk is verified by its hash (sha1 currently).

@fw2568 fw2568 merged commit d987da5 into main Mar 17, 2022
@fw2568 fw2568 deleted the pull/image_sources branch March 17, 2022 12:57
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.

1 participant