Skip to content

config/convert: expose Config.Volumes as an annotation - #678

Open
jochumdev wants to merge 1 commit into
opencontainers:mainfrom
jochumdev:feat/add-volumes-annotation
Open

config/convert: expose Config.Volumes as an annotation#678
jochumdev wants to merge 1 commit into
opencontainers:mainfrom
jochumdev:feat/add-volumes-annotation

Conversation

@jochumdev

Copy link
Copy Markdown

Record the same information as the org.opencontainers.image.volumes annotation, following the existing pattern used for ExposedPorts and StopSignal.

Record the same information as the org.opencontainers.image.volumes
annotation, following the existing pattern used for ExposedPorts and
StopSignal.

Signed-off-by: René Jochum <rene@jochum.dev>
@codecov-commenter

codecov-commenter commented Aug 17, 2026

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.14%. Comparing base (a058839) to head (a4b7d0c).
⚠️ Report is 72 commits behind head on main.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #678      +/-   ##
==========================================
+ Coverage   72.89%   74.14%   +1.25%     
==========================================
  Files          71       71              
  Lines        6164     4634    -1530     
==========================================
- Hits         4493     3436    -1057     
+ Misses       1213      747     -466     
+ Partials      458      451       -7     
Files with missing lines Coverage Δ
oci/config/convert/runtime.go 76.47% <100.00%> (+4.16%) ⬆️

... and 58 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

createdAnnotation = "org.opencontainers.image.created"
stopSignalAnnotation = "org.opencontainers.image.stopSignal"
exposedPortsAnnotation = "org.opencontainers.image.exposedPorts"
volumesAnnotation = "org.opencontainers.image.volumes"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I'm not seeing any reference to this in the OCI spec.

@jochumdev

Copy link
Copy Markdown
Author

We have another fix: lxc/incus#3860

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