-
Notifications
You must be signed in to change notification settings - Fork 0
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
WIP added pack manifest cli #3
Conversation
Signed-off-by: WYGIN <[email protected]>
Signed-off-by: WYGIN <[email protected]>
Signed-off-by: WYGIN <[email protected]>
Signed-off-by: WYGIN <[email protected]>
Signed-off-by: sai kiran <[email protected]>
Signed-off-by: WYGIN <[email protected]>
This comment was marked as resolved.
This comment was marked as resolved.
Signed-off-by: WYGIN <[email protected]>
I found the following thing on GitHub even though it's not a reason for the current bug I want to take it to your notice Any suggestions on how to deal with it?
|
I saw the error you are mentioning, but that is not happening with Husni's code. I managed to push the Image Index with Husni's pack version and the index is using docker media types |
Signed-off-by: Sai Kiran Maggidi <[email protected]>
Signed-off-by: WYGIN <[email protected]>
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.
Please address the comment
Signed-off-by: WYGIN <[email protected]>
Signed-off-by: WYGIN <[email protected]> Date: Wed Feb 28 09:46:46 2024 +0000 Changes to be committed: modified: internal/commands/manifest.go modified: internal/commands/manifest_add.go new file: internal/commands/manifest_add_test.go modified: internal/commands/manifest_annotate.go new file: internal/commands/manifest_annotate_test.go modified: internal/commands/manifest_create.go new file: internal/commands/manifest_create_test.go modified: internal/commands/manifest_exists.go new file: internal/commands/manifest_exists_test.go modified: internal/commands/manifest_inspect.go new file: internal/commands/manifest_inspect_test.go modified: internal/commands/manifest_push.go new file: internal/commands/manifest_push_test.go modified: internal/commands/manifest_remove.go new file: internal/commands/manifest_remove_test.go modified: internal/commands/manifest_rm.go new file: internal/commands/manifest_rm_test.go new file: internal/commands/manifest_test.go
Signed-off-by: WYGIN <[email protected]>
Signed-off-by: WYGIN <[email protected]>
Signed-off-by: WYGIN <[email protected]>
Signed-off-by: WYGIN <[email protected]>
Signed-off-by: Juan Bustamante <[email protected]>
Signed-off-by: Juan Bustamante <[email protected]>
CNB Pack Manifest Commands: Streamlining Multi-Architecture Image Management
This proposal introduces a new experimental set of commands to the CNB tooling ecosystem: pack manifest. These commands empower buildpack authors to efficiently manage and distribute multi-architecture images, aligning with functionalities offered by existing tools like
podman manifest
anddocker manifest
.Key Features:
Benefits:
Simplified workflows: Centralized management of multi-architecture image variants for efficient distribution.
Enhanced interoperability: Potential adherence to established standards for seamless integration with existing tools and runtimes.
Improved developer experience: Streamlined workflows and user-friendly commands for managing manifest lists.
Target Users:
Buildpack authors seeking to distribute their buildpacks across diverse architectures.
Example Workflow:
Create a manifest list:
Annotate architecture:
Push to registry:
Current Status:
These commands are initially experimental and gated behind the pack config experimental flag. They will transition to supported status upon deemed readiness by maintainers.
This innovative addition to the CNB ecosystem empowers buildpack authors to streamline multi-architecture image management, fostering efficient distribution and enhanced developer experiences.
Development setup:
This guide outlines the steps to set up your development environment and test the pack manifest commands under development in the image-index branch of the
github.com/WYGIN/buildpacks-pack
repository against thegithub.com/WYGIN/buildpacks-imgutil
repository.Prerequisites:
Steps:
cd buildpacks-pack
image-index
branch:experimental features
:pack config experimental true
pack manifest
:Switching between modes:
There are two modes, where one only manipulates the ImageIndex, where as the other will manipulates the ImageIndex along with the underlying image.
To switch between these modes use: