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

kcl-lang / kpm / 33313964311
47%
main: 47%

Build:
Build:
LAST BUILD BRANCH: fix/login-plaintext-put-769
DEFAULT BRANCH: main
Ran 30 Aug 2026 01:24PM UTC
Jobs 1
Files 76
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

30 Aug 2026 01:20PM UTC coverage: 46.624% (+0.5%) from 46.17%
33313964311

Pull #766

github

Peefy
feat(auth): pluggable OCI credential providers for kpm login

Add a small pkg/auth package with a Provider interface and a
GCPProvider implementation that mints OCI credentials from the
GCE/GKE metadata server (Workload Identity). The existing
username/password flow becomes the default BasicProvider.

kpm login gains a --provider flag:

  kpm login gcr.io/<project> --provider=gcp   # WI federated
  kpm login ghcr.io -u u -p p                 # unchanged

Why: function-kcl #251 asks for OCI pulls without static
credentials. The OCI client is reached through kpm
(kcl-lang.io/kpm/pkg/client.LoginOci), so the provider abstraction
sits in kpm; function-kcl wires --provider in a follow-up.

No behaviour change for --provider=basic (the default).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pull Request #766: feat(auth): pluggable OCI credential providers for kpm login

103 of 118 new or added lines in 4 files covered. (87.29%)

5069 of 10872 relevant lines covered (46.62%)

0.53 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
81.73
10.06% pkg/cmd/cmd_login.go
3
85.0
pkg/auth/provider.go
Jobs
ID Job ID Ran Files Coverage
1 33313964311.1 30 Aug 2026 01:24PM UTC 76
46.62
GitHub Action Run
Source Files on build 33313964311
  • Tree
  • List 76
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #766
  • PR Base - main (#33248731837)
  • Delete
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