Skip to content

Publish and Support Flat IronCore OCI image specification#196

Merged
hardikdr merged 2 commits intomainfrom
enh/update-oci-spec
Apr 16, 2025
Merged

Publish and Support Flat IronCore OCI image specification#196
hardikdr merged 2 commits intomainfrom
enh/update-oci-spec

Conversation

@hardikdr
Copy link
Member

@hardikdr hardikdr commented Apr 8, 2025

Proposed Changes

Initial IronCore OCI image specification added with support for flat OCI images.
Architecture-aware index-based support will be introduced in a future update.
Consumers like boot-operator will handle both formats based on the Index manifest's existence.

Partially solves: #101

@hardikdr hardikdr added this to the H1/2025 milestone Apr 8, 2025
@hardikdr hardikdr requested a review from a team as a code owner April 8, 2025 15:06
@hardikdr hardikdr self-assigned this Apr 8, 2025
@github-actions github-actions bot added size/L documentation Improvements or additions to documentation enhancement New feature or request labels Apr 8, 2025
@hardikdr hardikdr linked an issue Apr 8, 2025 that may be closed by this pull request
@hardikdr hardikdr force-pushed the enh/update-oci-spec branch 2 times, most recently from 7f1fe25 to 4dbfd18 Compare April 9, 2025 08:37
@hardikdr hardikdr changed the title Publish initial IronCore OCI image specification Publish and Support Flat IronCore OCI image specification Apr 9, 2025
@hardikdr hardikdr requested review from 5kt, afritzler and gehoern April 9, 2025 08:44
@hardikdr hardikdr force-pushed the enh/update-oci-spec branch 2 times, most recently from 1484876 to d3b5efb Compare April 12, 2025 09:35
@hardikdr
Copy link
Member Author

https://github.com/orgs/ironcore-dev/packages/container/os-images%2Ftest-image/394881732?tag=100.1

Here's a sample test image uploaded using the tool with flat OCI, I will open a separate PR to introduce an index based layer for architecture(amd64/arm64)

@hardikdr
Copy link
Member Author

@lukasfrank suggested removing the dedicated cmdline layer and keeping it solely in the config — it would be a nice simplification, I'll make that change.

I'd like to merge this today (EOB) to unblock integrations — please feel free to comment if you'd like more time to review!! :)

@hardikdr hardikdr requested a review from defo89 April 16, 2025 09:30
@hardikdr hardikdr force-pushed the enh/update-oci-spec branch from d3b5efb to b8ddee1 Compare April 16, 2025 10:21
@hardikdr
Copy link
Member Author

Update: Removed the dedicated cmdline layer — it's now stored only in the config.

Quick test:

oras pull ghcr.io/ironcore-dev/os-images/test-image:100.2 --config config.json
cat config.json

@hardikdr hardikdr linked an issue Apr 16, 2025 that may be closed by this pull request
@hardikdr hardikdr merged commit 102d7fd into main Apr 16, 2025
6 checks passed
@hardikdr hardikdr deleted the enh/update-oci-spec branch April 16, 2025 17:02
@github-project-automation github-project-automation bot moved this from Backlog to Done in Metal Automation Apr 16, 2025
@hardikdr hardikdr added the area/metal-automation Automation processes within the Metal project. label May 4, 2025
@hardikdr hardikdr added this to Roadmap Jun 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/metal-automation Automation processes within the Metal project. documentation Improvements or additions to documentation enhancement New feature or request size/L

Projects

Status: Done
Status: No status

Development

Successfully merging this pull request may close these issues.

Document Required OCI Spec Fields

3 participants