kernelci / kernelci/kernelci-pipeline
Add git mirror for tarball creation in Kubernetes
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 11
- Forks
- 40
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 14
Description
WIth the new API & Pipeline deployment, the kernel source tarballs are being generated in a Kubernetes container. The first time this happens, a new git repository is being created from scratch which can take a while. Subsequent tarballs should happen more quickly but it's still a limiting factor, and the pod may need to be restarted every now and then.
We may also move tarball creation to a plain job rather than a pod, in which case it would definitively be recreated for every kernel revision. Or we may have replicas of the pod getting created dynamically.
To avoid this issue, one option is to have some kind of git mirror available. This could be a read-only persistent volume in the cluster with a Pod run periodically to update it. There's already support in kernelci.build.update_repo to have a reference repository which can be a mirror, to speed things up.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the kernelci.build.update_repo support for a reference repository, then trace how kernel source tarballs are created in the Kubernetes deployment. Compare a read-only persistent-volume mirror updated by a periodic Pod with the issue's job and replica scenarios. Done means selecting and implementing a concrete mirror approach that avoids recreating the repository for each kernel revision.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, kubernetes, python
- Domain
- build-system, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100