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

kubevirt / containerized-data-importer / #5781
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 18 Jan 2026 04:34PM 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

16 Jan 2026 02:59PM UTC coverage: 49.64% (+0.2%) from 49.439%
#5781

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

165 of 208 new or added lines in 8 files covered. (79.33%)

2 existing lines in 1 file now uncovered.

14772 of 29758 relevant lines covered (49.64%)

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
85.71
pkg/importer/checksum.go
14
0.0
0.0% cmd/cdi-importer/importer.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
Jobs
ID Job ID Ran Files Coverage
1 #5781.1 18 Jan 2026 04:34PM UTC 159
49.64
Source Files on build #5781
  • Tree
  • List 159
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
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