Skip to content

fix(ci): use local kubernetes-json-schema cache for kubeconform#133

Merged
laminair merged 2 commits into
mainfrom
dev
Jul 9, 2026
Merged

fix(ci): use local kubernetes-json-schema cache for kubeconform#133
laminair merged 2 commits into
mainfrom
dev

Conversation

@laminair

@laminair laminair commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Cherry-picks PR #132 to main. Fixes kubeconform CI flakiness by using a sparse local schema cache instead of per-resource downloads from raw.githubusercontent.com.

laminair and others added 2 commits July 9, 2026 03:53
The retry loop from #130 was insufficient — raw.githubusercontent.com
is persistently rate-limiting, causing all 3 attempts to fail.

Instead, download the kubernetes-json-schema tarball once (a single
request via github.com/.../archive/ CDN, not subject to the same
rate limits) and point kubeconform at local files with -schema-location.
This eliminates all per-resource HTTP downloads at validation time.
fix(ci): use local kubernetes-json-schema cache for kubeconform
@codecov

codecov Bot commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@laminair
laminair merged commit 83ba615 into main Jul 9, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant