Common platform builds: enhance CI to build in nested docker images #393
Labels
build and test
do-not-stale
enhancement
New feature or request
priority:p2
Issues that are not blocking
@lalitb suggested this approach during code review.
Rather than targeting 'legacy' or 'latest' compiler and a default set of GitHub action images, we can implement better (and faster) test coverage with the following CI loop in nested Docker images:
Draft PR that adds these containers. But does not yet add these to the CI yet is here: #377
Above configurations are tested and known to work, passing all core tests. We can also add
RHEL
andCentOS
images (yum / rpm-based distros) as well. The aim is to iteratively build and run these Docker images on a GitHub Actions Linux runner, using GitHub cache (up to 5GB per repo) - to save the cached images. This GitHub action seems to be implementing what's needed:https://github.com/marketplace/actions/build-docker-images-using-cache
Linux docker allows for nested containers: running docker container in GitHub action (which itself is run in docker container).
We can organize a build farm for up to 10 popular Linux repos using one set of build tools:
tools/build.sh
Anyone can later reuse this effort to build OpenTelemetry C++ SDK PPA for Ubuntu or alike. Personal Package Archives (PPA) allow you to upload Ubuntu source packages to be built and published as an apt repository by Launchpad.
The text was updated successfully, but these errors were encountered: