Skip to content

feat(gateway): Publish galactic-gateway as its own image - #353

Merged
privateip merged 1 commit into
mainfrom
feat/edge-gateway-05-images-ci
Aug 13, 2026
Merged

feat(gateway): Publish galactic-gateway as its own image#353
privateip merged 1 commit into
mainfrom
feat/edge-gateway-05-images-ci

Conversation

@privateip

Copy link
Copy Markdown
Contributor

Summary

The new binary from the previous PR needs a release image and a way to get it published. This adds a Dockerfile for galactic-gateway, matching galactic-router's shape, and a publish job that pushes it and stamps its tag into the two-container gateway DaemonSet's OCI Kustomize bundle entry. Fifth branch in the edge-gateway stack; builds on the galactic-gateway binary PR.

Test plan

  • docker build succeeds for the new Dockerfile
  • The publish workflow YAML is valid and task lint is clean

Related to #17

@privateip
privateip requested a review from a team as a code owner August 12, 2026 18:10
@privateip
privateip requested review from fr6nco and removed request for a team August 12, 2026 18:10
@privateip
privateip force-pushed the feat/edge-gateway-04-cmd-wiring branch from bed30c2 to 19e0d98 Compare August 12, 2026 18:26
@privateip
privateip force-pushed the feat/edge-gateway-05-images-ci branch from 76455c5 to 15a4155 Compare August 12, 2026 18:26
@privateip
privateip force-pushed the feat/edge-gateway-04-cmd-wiring branch from 19e0d98 to 2a23577 Compare August 12, 2026 19:04
@privateip
privateip force-pushed the feat/edge-gateway-05-images-ci branch 2 times, most recently from 6d85070 to 4344c1a Compare August 12, 2026 19:18
@privateip
privateip force-pushed the feat/edge-gateway-04-cmd-wiring branch from 2a23577 to 66f6fa4 Compare August 12, 2026 19:26
@privateip
privateip force-pushed the feat/edge-gateway-05-images-ci branch 2 times, most recently from 469c9d0 to 53414db Compare August 12, 2026 19:44
ecv
ecv previously approved these changes Aug 12, 2026

@ecv ecv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. Small and correct: the new image job is wired the same way as the others, publish-kustomize-bundles correctly needs all four, and stamping config/gateway/base twice for the two containers in that pod is right.

CI red here is inherited from #351's module replace, tracked in #358.

One thing to carry into that fix rather than this PR. publish.yaml passes no build-contexts input to the reusable publish workflow, and #355 later adds COPY --from=network . /network to both the router and gateway Dockerfiles. Once that lands, these publish jobs cannot build, including the router image that ships today. Both Dockerfile lines need to come out with the replace.

@privateip
privateip force-pushed the feat/edge-gateway-04-cmd-wiring branch from 66f6fa4 to de11cb4 Compare August 12, 2026 20:44
- containers/galactic-gateway/Dockerfile: same shape as
  galactic-router's (golang builder -> distroless static:nonroot, no
  shell), regenerating both internal/plumbing/ebpf/prog's and
  internal/plumbing/ebpf/edgeprog's bpf2go output at build time (via
  edgepreflight's transitive import of the former), since neither is
  committed to git.
- containers/galactic-router/Dockerfile: no functional change, just
  points its 'regenerate both bpf2go outputs' comment at
  galactic-gateway's Dockerfile (which now exists) instead of
  galactic-cni's (which only regenerates prog, not edgeprog).
- containers/galactic-cni/Dockerfile: no functional change.
- .github/workflows/publish.yaml: adds publish-galactic-gateway-image
  and adds it to publish-kustomize-bundles' needs. Does NOT yet stamp
  config/gateway/base with either image's tag -- that path doesn't
  exist until the next branch, so referencing it here would 404 the
  kustomize-bundle job on this branch's own CI.
- AGENTS.md: describes the new publish pipeline in place of the
  now-stale 'no production release image build in this repo' note.

Fifth branch in the edge-gateway stack; builds on
feat/edge-gateway-04-cmd-wiring.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@privateip
privateip force-pushed the feat/edge-gateway-05-images-ci branch from 53414db to a635a3a Compare August 12, 2026 21:30
Base automatically changed from feat/edge-gateway-04-cmd-wiring to main August 12, 2026 22:27
@privateip
privateip dismissed ecv’s stale review August 12, 2026 22:27

The base branch was changed.

@privateip
privateip merged commit 6b2ef7f into main Aug 13, 2026
19 of 21 checks passed
@privateip
privateip deleted the feat/edge-gateway-05-images-ci branch August 13, 2026 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants