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

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

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/tools/release-notes/github.com/go-git/go-git/v5-5.16.5
DEFAULT BRANCH: main
Ran 11 Feb 2026 10:57AM 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

06 Feb 2026 05:59AM UTC coverage: 49.594% (+0.1%) from 49.499%
#5810

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

156 of 245 new or added lines in 14 files covered. (63.67%)

69 existing lines in 2 files now uncovered.

14854 of 29951 relevant lines covered (49.59%)

0.56 hits per line

New Missed Lines in Diff

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

Uncovered Existing Lines

Lines Coverage ∆ File
4
78.45
1.54% pkg/importer/http-datasource.go
65
73.13
0.1% pkg/apiserver/apiserver.go
Jobs
ID Job ID Ran Files Coverage
1 #5810.1 11 Feb 2026 10:57AM UTC 159
49.59
Source Files on build #5810
  • Tree
  • List 159
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
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