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

kubevirt / containerized-data-importer / #5793
50%
main: 49%

Build:
Build:
LAST BUILD BRANCH: autoupdate
DEFAULT BRANCH: main
Ran 26 Jan 2026 09:09AM UTC
Jobs 1
Files 159
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

26 Jan 2026 02:08AM UTC coverage: 49.624% (+0.1%) from 49.491%
#5793

Pull #4010

travis-ci

halfcrazy
feat: Add checksum validation for HTTP/HTTPS DataVolume sources

Introduces cryptographic hash validation for HTTP/HTTPS
import sources to prevent data tampering during download.

**Usage Example:**

```yaml
apiVersion: cdi.kubevirt.io/v1beta1
kind: DataVolume
metadata:
  name: fedora-dv
spec:
  source:
    http:
      url: "https://download.fedoraproject.org/pub/fedora/linux/releases/39/Cloud/x86_64/images/Fedora-Cloud-Base-39-1.5.x86_64.qcow2"
      checksum: "sha256:c5b50f903e39b3c5d3b7c7bb9a4c5e4f3"
  pvc:
    accessModes:
      - ReadWriteOnce
    resources:
      requests:
        storage: 10Gi
```

Signed-off-by: Yan Zhu <hackzhuyan@gmail.com>
Pull Request #4010: feat: Add checksum validation for HTTP/HTTPS DataVolume sources

154 of 212 new or added lines in 14 files covered. (72.64%)

13 existing lines in 2 files now uncovered.

14779 of 29782 relevant lines covered (49.62%)

0.56 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
70.42
-0.17% pkg/controller/datavolume/import-controller.go
3
13.47
-0.03% pkg/controller/common/util.go
8
84.31
pkg/importer/checksum.go
14
0.0
0.0% cmd/cdi-importer/importer.go
15
64.29
pkg/util/checksum/checksum.go
16
70.57
-0.71% pkg/controller/import-controller.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
62.42
-0.26% pkg/importer/vddk-datasource_amd64.go
11
54.39
-4.6% cmd/openstack-populator/openstack-populator.go
Jobs
ID Job ID Ran Files Coverage
1 #5793.1 26 Jan 2026 09:09AM UTC 159
49.62
Source Files on build #5793
  • Tree
  • List 159
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #4010
  • PR Base - main (#)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc