• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubevirt / containerized-data-importer / #6391
51%

Build:
DEFAULT BRANCH: main
Ran 24 Nov 2026 07:28PM UTC
Jobs 1
Files 162
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Nov 2026 07:13PM UTC coverage: 50.918% (+0.3%) from 50.573%
#6391

push

travis-ci

web-flow
VEP 395: Support direct OCI layer fetch with Layer option (#4301)

* types: introduce Layer for DataVolumeSourceRegistry

Layer is a new option for DataVolumeSourceRegistry that selects a single
layer of an OCI artifact by matching annotations on the manifest's layer
descriptors.

Signed-off-by: Adi Aloni <aaloni@redhat.com>

* controller, util: cover UpdateRegistryAnnotations

Signed-off-by: Adi Aloni <aaloni@redhat.com>

* import-controller, util: wire the Layer API to the importer pod

Signed-off-by: Adi Aloni <aaloni@redhat.com>

* webhooks, util: validate the Layer selector

Layer cannot be used with pullMethod: node, the container runtime pulls
an artifact with custom layer media types as if it were a container
image and the node pull path doesn't support that.

Signed-off-by: Adi Aloni <aaloni@redhat.com>

* importer, registry-datasource: make the registry copy a method

Signed-off-by: Adi Aloni <aaloni@redhat.com>

* importer, registry-datasource: drop redundant context wrapper

Signed-off-by: Adi Aloni <aaloni@redhat.com>

* importer, registry-extract: extract through a pluggable layerDisk

Extraction is written for one kind of registry image to walk the layers
in order and take the first entry under the path prefix. Split that into
what varies and what does not, so other kinds of images can reuse the
rest.

Introduce a new layerDisk that resolves which layers of an opened image
may hold the disk image and reads it out of one; containerDisk is an
implementation for a standard image.

Signed-off-by: Adi Aloni <aaloni@redhat.com>

* importer, registry-datasource: import artifact layer by annotations

With a layer selector set, the image is an OCI artifact, and the single
layer carrying every selected annotation is written out as the disk
image. Only KubeVirt artifact types are accepted initially, since the
annotations have no agreed meaning on other images. A plain manifest
declares not platform, so it is refused when an architecture is
request... (continued)

294 of 326 new or added lines in 10 files covered. (90.18%)

15913 of 31252 relevant lines covered (50.92%)

0.57 hits per line

Uncovered Changes

Lines Coverage ∆ File
18
85.6
pkg/importer/registry-artifact.go
5
0.0
0.0% cmd/cdi-importer/importer.go
4
94.59
pkg/importer/registry-container.go
3
73.44
1.09% pkg/importer/registry-datasource.go
2
85.71
-6.59% pkg/importer/registry-extract.go
Jobs
ID Job ID Ran Files Coverage
1 #6391.1 24 Nov 2026 07:28PM UTC 162
50.92
Source Files on build #6391
  • Tree
  • List 162
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4e4a6e35 on github
  • Prev Build on main
  • Next Build on main
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc