Skip to content

ci(release): run binary + docker builds on Blacksmith#9

Merged
jaronoff97 merged 1 commit into
masterfrom
blacksmith-build-jobs
Jun 1, 2026
Merged

ci(release): run binary + docker builds on Blacksmith#9
jaronoff97 merged 1 commit into
masterfrom
blacksmith-build-jobs

Conversation

@jaronoff97

Copy link
Copy Markdown

Summary

Scoped replacement for #8 — only the binary + Docker build jobs in tero-release.yaml move to Blacksmith. The 36 other workflow files (upstream-Vector CI, cla/static-analysis/etc.) are left on standard GitHub runners so they don't conflict on every upstream sync.

Changes

.github/workflows/tero-release.yaml:

  • build-binary matrix (the heavy Rust + vectorscan compile):
    • ubuntu-24.04blacksmith-8vcpu-ubuntu-2404
    • arm-4-coreblacksmith-8vcpu-ubuntu-2404-arm
  • build-docker matrix (packaging the prebuilt binary into a container layer):
    • ubuntu-24.04blacksmith-4vcpu-ubuntu-2404
    • ubuntu-24.04-armblacksmith-4vcpu-ubuntu-2404-arm
  • merge-docker-manifestblacksmith-4vcpu-ubuntu-2404
  • docker/setup-buildx-action@v3useblacksmith/setup-docker-builder@v1
  • docker/build-push-action@v6useblacksmith/build-push-action@v2
  • Drops cache-from: type=gha / cache-to: type=gha,mode=max — Blacksmith's setup-docker-builder wires the colocated layer cache automatically.

Untouched (intentionally — these don't build anything, no reason to spend Blacksmith on them): prepare, upload-release-assets, summary.

actions/cache@v4 (cargo registry/build cache) is also left as-is; per Blacksmith's docs, official GitHub cache actions automatically use the colocated cache backend when the job runs on a Blacksmith runner.

Change Type

  • Non-functional (chore, refactoring, docs)

Is this a breaking change?

  • No

Scoped replacement for #8. Only `tero-release.yaml` is touched — the
upstream-Vector CI workflows stay on standard runners so future syncs
don't conflict on every file.

Heavy compile jobs get the bigger runner; docker assembly stays on 4vcpu.

- build-binary matrix: blacksmith-8vcpu-ubuntu-2404 / -arm
- build-docker matrix: blacksmith-4vcpu-ubuntu-2404 / -arm
- merge-docker-manifest: blacksmith-4vcpu-ubuntu-2404
- docker/setup-buildx-action -> useblacksmith/setup-docker-builder
- docker/build-push-action -> useblacksmith/build-push-action
  (drops manual cache-from/to: type=gha; Blacksmith's colocated layer
  cache is handled by the builder automatically)

Untouched: prepare, upload-release-assets, summary — they don't build
anything, so they stay on ubuntu-24.04. actions/cache@v4 is also left
alone; it auto-interacts with Blacksmith's cache backend when the job
runs on a Blacksmith runner.
@jaronoff97 jaronoff97 added the no-changelog Skip changelog validation (no user-facing change) label Jun 1, 2026
@jaronoff97 jaronoff97 merged commit 12b73f2 into master Jun 1, 2026
76 of 79 checks passed
@jaronoff97 jaronoff97 deleted the blacksmith-build-jobs branch June 1, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: ci no-changelog Skip changelog validation (no user-facing change)

Development

Successfully merging this pull request may close these issues.

2 participants