posit-dev / posit-dev/images-shared
Parallelize builds across OS and architecture
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2
- Forks
- 0
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 22
Description
Problem
One build-test job builds every OS and architecture for a version. As we add more operating systems, this job needs more disk space and more time.
Workbench hit this limit when we added Ubuntu 26.04. We increased the runner size as a temporary fix.
This problem will return. RHEL 10 support is planned for Workbench and other products. Each new OS adds more work to the same job.
- https://github.com/posit-dev/images-workbench/issues/175
- https://github.com/posit-dev/images-workbench/issues/176
- https://github.com/posit-dev/images-shared/issues/575
- https://github.com/posit-dev/images-shared/issues/698
Scope
This affects two shared workflows: bakery-build-native.yml and bakery-build-pr.yml. All three product repos use these workflows — images-connect, images-package-manager, and images-workbench — including every pull request build.
Goal
Run each OS and architecture combination as its own parallel job, instead of building all of them in one job per version.
See the comments below for the full design. Each comment covers one part.
Contributor guide
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 comments on this issue for the full design, then inspect bakery-build-native.yml and bakery-build-pr.yml. Trace how builds currently cover OS and architecture combinations across the three product repositories; done means each combination runs as its own parallel job for version builds and pull requests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100