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

stacklok / toolhive / 17825014144
50%

Build:
DEFAULT BRANCH: main
Ran 18 Sep 2025 10:02AM UTC
Jobs 1
Files 262
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

18 Sep 2025 09:56AM UTC coverage: 44.068% (+0.1%) from 43.973%
17825014144

push

github

web-flow
Add file-based registry provider to thv-registry-api (#1909)

* Add file-based registry provider to thv-registry-api

Extends the registry API server to support reading registry data from
local files in addition to Kubernetes ConfigMaps. This enables
deployment scenarios where ConfigMaps are mounted as volumes rather
than accessed via the Kubernetes API.

The server now accepts either:
- `--configmap` flag: Reads from Kubernetes ConfigMap via API
- `--file` flag: Reads from mounted file (for volume-mounted ConfigMaps)

* Pass the registry name explicitly as a command line flag

* Rename parameters to --from-configmap and --from-file

* fix lint

106 of 220 new or added lines in 6 files covered. (48.18%)

1 existing line in 1 file now uncovered.

15015 of 34072 relevant lines covered (44.07%)

16.02 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
96.97
cmd/thv-registry-api/internal/service/file_provider.go
10
0.0
0.0% cmd/thv-registry-api/internal/service/mocks/mock_provider.go
12
85.19
cmd/thv-registry-api/internal/service/provider_factory.go
19
0.0
cmd/thv-registry-api/internal/service/mocks/mock_provider_factory.go
72
0.0
0.0% cmd/thv-registry-api/app/serve.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% cmd/thv-registry-api/app/serve.go
Jobs
ID Job ID Ran Files Coverage
1 17825014144.1 18 Sep 2025 10:02AM UTC 262
44.07
GitHub Action Run
Source Files on build 17825014144
  • Tree
  • List 262
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17825014144
  • b92b9e79 on github
  • Prev Build on main (#17824288401)
  • Next Build on main (#17825604145)
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