Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

build: alter Docker image multi-arch promotion for certain images#5259

Merged
fnichol merged 1 commit intomainfrom
sf/prune-noncritical-merge-builds
Jan 15, 2025
Merged

build: alter Docker image multi-arch promotion for certain images#5259
fnichol merged 1 commit intomainfrom
sf/prune-noncritical-merge-builds

Conversation

@fnichol
Copy link
Copy Markdown
Contributor

@fnichol fnichol commented Jan 15, 2025

This change changes the default machine architectures that are expected to have Docker images being built and published to Docker Hub for tag promotion (in the si/merge-main CI pipeline).

By default, it's expected that an ARM and an X86-64 image will be produced. In this change it's now possible to change that default assumption and to only specify the machine architectures expected to have been published. The underlying Python script and corresponding docker_image_promote rule already had this capability but the docker_image Buck2 macro wasn't able to handle this prior to this change.

This change works in concert with changes to si-ci which will filter out non-critical artifact builds in the si/merge-queue pipeline.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 15, 2025

Dependency Review

✅ No vulnerabilities or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

@fnichol fnichol force-pushed the sf/prune-noncritical-merge-builds branch from d40c514 to 50cf092 Compare January 15, 2025 19:23
@fnichol fnichol added this pull request to the merge queue Jan 15, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 15, 2025
@stack72 stack72 added this pull request to the merge queue Jan 15, 2025
@fnichol fnichol removed this pull request from the merge queue due to a manual request Jan 15, 2025
@fnichol fnichol added this pull request to the merge queue Jan 15, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 15, 2025
@fnichol fnichol added this pull request to the merge queue Jan 15, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 15, 2025
This change changes the default machine architectures that are expected
to have Docker images being built and published to Docker Hub for tag
promotion (in the `si/merge-main` CI pipeline).

By default, it's expected that an ARM and an X86-64 image will be
produced. In this change it's now possible to change that default
assumption and to only specify the machine architectures expected to
have been published. The underlying Python script and corresponding
`docker_image_promote` rule already had this capability but the
`docker_image` Buck2 macro wasn't able to handle this prior to this
change.

This change works in concert with changes to `si-ci` which will filter
out non-critical artifact builds in the `si/merge-queue` pipeline.

Signed-off-by: Fletcher Nichol <fletcher@systeminit.com>
@fnichol fnichol force-pushed the sf/prune-noncritical-merge-builds branch from 50cf092 to fd732c9 Compare January 15, 2025 20:19
@fnichol fnichol added this pull request to the merge queue Jan 15, 2025
Merged via the queue into main with commit 48dc40c Jan 15, 2025
@fnichol fnichol deleted the sf/prune-noncritical-merge-builds branch January 15, 2025 20:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants