posit-dev / posit-dev/images-shared

Parallelize builds across OS and architecture

Open
#755 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cvp:0 docker tdp:4
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.

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.