ci(release-image): Skip setup steps when using persistent BuildKit #991

Merged
tcpipuk merged 1 commit from tom/speedy-buildkit into main 2025-09-07 18:31:10 +00:00
Owner

When BUILDKIT_ENDPOINT is set, builds run on a persistent BuildKit instance, making runner setup steps unnecessary.

Skips Rust toolchain installation, QEMU setup, caching steps, and timelord to eliminate ~7 operations per job.

Cuts at least a minute off average build time through fewer installs, cache restores, and cache saves.

Also adds output to git SHA and timestamp steps for visibility.

When BUILDKIT_ENDPOINT is set, builds run on a persistent BuildKit instance, making runner setup steps unnecessary. Skips Rust toolchain installation, QEMU setup, caching steps, and timelord to eliminate ~7 operations per job. Cuts at least a minute off average build time through fewer installs, cache restores, and cache saves. Also adds output to git SHA and timestamp steps for visibility.
tcpipuk self-assigned this 2025-09-07 18:13:23 +00:00
ci(release-image): Skip setup steps when using persistent BuildKit
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Successful in 31s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m2s
Release Docker Image / define-variables (pull_request) Successful in 3s
Checks / Prek / Clippy and Cargo Tests (pull_request) Successful in 5m40s
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (pull_request) Successful in 5m39s
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (pull_request) Successful in 5m42s
Release Docker Image / merge (pull_request) Successful in 6s
Release Docker Image / define-variables (push) Successful in 23s
Documentation / Build and Deploy Documentation (push) Successful in 37s
Checks / Prek / Pre-commit & Formatting (push) Successful in 52s
Checks / Prek / Clippy and Cargo Tests (push) Successful in 4m39s
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (push) Successful in 6m24s
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (push) Successful in 6m31s
Release Docker Image / merge (push) Successful in 7s
1e9701f379
When BUILDKIT_ENDPOINT is set, builds run on a persistent BuildKit instance,
making runner setup steps unnecessary. Skip Rust toolchain installation,
QEMU setup, caching steps, and timelord to eliminate ~7 operations per job.

Also adds output to git SHA and timestamp steps for visibility.

Cuts at least a minute off average build time through fewer installs,
cache restores, and cache saves.
tcpipuk deleted branch tom/speedy-buildkit 2025-09-07 18:31:10 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
continuwuation/continuwuity!991
No description provided.