Localize Alloy container image #300

Merged
eblume merged 1 commit from feature/localize-alloy-container into main 2026-03-17 16:42:54 -07:00
Owner

Summary

  • Add containers/alloy/ with dual Dockerfile + Nix build files for Grafana Alloy v1.14.0
  • Both builds fetch source from forge mirror (forge.ops.eblu.me/mirrors/alloy.git), build the web UI (Node), then compile the Go binary with netgo embedalloyui tags
  • Update all three alloy deployments (alloy-k8s, alloy-ringtail, alloy-tracing-ringtail) to use registry.ops.eblu.me/blumeops/alloy
  • promtail_journal_enabled tag omitted — requires systemd headers and none of our configs use loki.source.journal

Build verification

  • Dockerfile: Tested locally via docker build, binary reports v1.14.0 with correct tags
  • Nix: Tested on ringtail via nix-build, all three hashes (fetchgit, npmDeps, goModules) resolved and build succeeds

Post-merge steps

  1. Wait for CI to build the container from main (both Dockerfile and Nix workflows)
  2. mise run container-list alloy to find the [main] tagged image
  3. C0 follow-up to update newTag in all three kustomizations from v1.14.0-placeholder to the real tag
  4. Sync ArgoCD apps and verify pods come up healthy
## Summary - Add `containers/alloy/` with dual Dockerfile + Nix build files for Grafana Alloy v1.14.0 - Both builds fetch source from forge mirror (`forge.ops.eblu.me/mirrors/alloy.git`), build the web UI (Node), then compile the Go binary with `netgo embedalloyui` tags - Update all three alloy deployments (alloy-k8s, alloy-ringtail, alloy-tracing-ringtail) to use `registry.ops.eblu.me/blumeops/alloy` - `promtail_journal_enabled` tag omitted — requires systemd headers and none of our configs use `loki.source.journal` ## Build verification - **Dockerfile:** Tested locally via `docker build`, binary reports `v1.14.0` with correct tags - **Nix:** Tested on ringtail via `nix-build`, all three hashes (fetchgit, npmDeps, goModules) resolved and build succeeds ## Post-merge steps 1. Wait for CI to build the container from main (both Dockerfile and Nix workflows) 2. `mise run container-list alloy` to find the `[main]` tagged image 3. C0 follow-up to update `newTag` in all three kustomizations from `v1.14.0-placeholder` to the real tag 4. Sync ArgoCD apps and verify pods come up healthy
Build Grafana Alloy v1.14.0 from forge mirror with embedded web UI,
replacing the upstream grafana/alloy image across all three deployments
(alloy-k8s, alloy-ringtail, alloy-tracing-ringtail). Dockerfile tested
locally, Nix build tested on ringtail. Tags are placeholders pending
first CI build.

promtail_journal_enabled tag omitted — requires systemd headers and
none of our configs use loki.source.journal.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
eblume merged commit 61f02a0335 into main 2026-03-17 16:42:54 -07:00
eblume referenced this pull request from a commit 2026-03-17 16:42:56 -07:00
Sign in to join this conversation.
No reviewers
No labels
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
eblume/blumeops!300
No description provided.