Investigate possibilities for the distributed builds for Ceph to speed up builds.
This task could have 2 scopes.
replace build and
vstartfor developers to run in containers for any target base (openSUSE, Ubuntu and etc)
distribute build jobs across nodes, probably on k8s cluster
There are some projects already to distribute the build:
As the first step maybe get to know already existent system and how much they speed up the build to have a reference point.
Idea is to build container (and reuse it later) with all dependencies (
./install-deps.sh on some base for devs, or
chroot before build phase for osc/obs) and start number of build jobs on k8s cluster (or
podman if local dev env).
That could help: * developers to build, test their changes on any dist base, locally or on k8s * speed up builds for IBS/OBS to distribute build on k8s cluster
For dev environment
buildah could be used to get base OS and actually run
./install-deps.sh and get current base for the build.
For osc/isc, that tool already prepares
chroot, so that might be consumed as container base.
Some tool needs to be used/developed to generate k8s manifests to run build based on that container, run those manifests locally with
podman play kube or remotely scheduling those manifest on k8s cluster and some how gather the results from the jobs and store resulted binaries/rpms/containers somewhere to run/store them.
This project is part of:
Hack Week 19
The OBS project has a...
After the release of ...
Implement support for O...
There is some code to...