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

Enable oci image format #347

Merged
merged 2 commits into from
Oct 1, 2024
Merged

Enable oci image format #347

merged 2 commits into from
Oct 1, 2024

Conversation

mike-sul
Copy link
Contributor

No description provided.

Copy link
Member

@doanac doanac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - I do think this is something we'll want to somehow document so that customer support can explain what you are about to do.

@mike-sul
Copy link
Contributor Author

LGTM - I do think this is something we'll want to somehow document so that customer support can explain what you are about to do.

Sure. I don't think we should enable OCI image format for all factories by default at once. At first, let's update dind-ci image gradually (dev, some factories, all factories).
In addition to that we should make OCI image enabling configurable, maybe just another factory/build parameter.

@mike-sul mike-sul force-pushed the enable-oci-image-format branch 3 times, most recently from 08ac1c6 to 1b4884a Compare September 27, 2024 11:00
@mike-sul
Copy link
Contributor Author

@doanac It can be as simple as 1b4884a.

Copy link
Member

@doanac doanac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems clean enough to me

@mike-scott
Copy link
Contributor

We're missing commit descriptions which explain why we're making these changes.

Since a version of the docker running inside of the CI container
supports both docker and OCI image formats it does not make sense to
enforce image format conversion during pulling images from registries.

Note: The older version of aklite will convert images to the docker
format anyway, so no regression here.

Signed-off-by: Mike Sul <[email protected]>
Add ability to enable building images in the OCI format for a factory.
By default, the docker format is applied as it is now. To enable the OCI
format the `ENABLE_OCI_IMAGES` should be set to "1".

The Docker format is gradually becoming obsolete, with most advancements
now focused on the OCI image format. This change enables us to perform
end-to-end testing of OCI image format support.
After that, we can offer our customers the option to transition to the new
format and take advantage of its enhanced capabilities, such as
switching to zstd compression.

Signed-off-by: Mike Sul <[email protected]>
@mike-sul mike-sul force-pushed the enable-oci-image-format branch from 1b4884a to f616150 Compare September 30, 2024 08:02
@mike-sul
Copy link
Contributor Author

We're missing commit descriptions which explain why we're making these changes.

Updated the commit messages.

@mike-sul mike-sul marked this pull request as ready for review September 30, 2024 08:03
@mike-scott
Copy link
Contributor

Updated the commit messages.

Thanks @mike-sul
LGTM from a commit description PoV

@mike-sul mike-sul merged commit d85c225 into master Oct 1, 2024
2 checks passed
@mike-sul mike-sul deleted the enable-oci-image-format branch October 1, 2024 06:17
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.

3 participants