Skip to content

Bootstrap the Giant Swarm line: CI on the giantswarm branch, publishing to ghcr.io/giantswarm/substrate, upstream sync, ledger - #1

Merged
teemow merged 6 commits into
giantswarmfrom
fork/line-bootstrap
Sep 10, 2026
Merged

Bootstrap the Giant Swarm line: CI on the giantswarm branch, publishing to ghcr.io/giantswarm/substrate, upstream sync, ledger#1
teemow merged 6 commits into
giantswarmfrom
fork/line-bootstrap

Conversation

@teemow

@teemow teemow commented Sep 10, 2026

Copy link
Copy Markdown
Member

The fork's own files for the line described in FORK.md (tracking: giantswarm/giantswarm#37757, epic giantswarm/giantswarm#37705). The giantswarm branch this targets is v0.0.26 (the pin giantswarm/kagent-upstream names in go/go.mod) plus the cherry-pick of kagent-dev#33.

  • CI on the line: pr-workflow.yaml, helm-e2e.yaml trigger on pushes to giantswarm (not main, which is the upstream mirror); govulncheck.yaml on pushes, pull requests and weekly.
  • publish.yaml: on every push to giantswarm the six images the platform runs (ateapi, atecontroller, atelet, atenet, podcertcontroller, ateom-gvisor; linux/amd64+arm64, ko), a digest-true mirror of the agentgateway image the chart deploys, and both charts with image.registry/image.tag/images.agentgateway stamped to ghcr.io/giantswarm/substrate, as 0.0.27-dev.giantswarm.<date>.<time>.h<sha7>; v* tags publish releases. Trivy scans every own image (fixable HIGH/CRITICAL fails; .trivyignore for time-boxed acceptances) before the charts are pushed. Digests in the run summary and the image-refs artifact.
  • sync-upstream.yaml: weekly + dispatch with the taylorbot token — force-mirrors upstream main (upstream rebases its main), probes the rebase of the carried patches, and with a pin input re-pins the branch (rebase, build, test, force-push) or opens a hand-over PR naming the conflicting patch.
  • Ownership and ledger: .github/CODEOWNERS (team-bumblebee), FORK.md, a pointer at the top of the README.

This pull request is itself the first proof that upstream's suites run on pull requests to the line. Merging it (squash) is the first push to giantswarm that triggers publish.

… requests

The consumed branch of the Giant Swarm line is giantswarm, not main (main is
the upstream mirror): pr-workflow and helm-e2e trigger on pushes to it,
govulncheck on pushes to it, on pull requests and weekly on the default branch.

Signed-off-by: Timo Derstappen <timo@giantswarm.io>
…t with upstream

publish.yaml: every push to giantswarm publishes the six images the agent
platform runs (ateapi, atecontroller, atelet, atenet, podcertcontroller,
ateom-gvisor; linux/amd64+arm64 with ko), a digest-true mirror of the
agentgateway image the chart deploys, and both charts with their image
defaults stamped to this registry, as dev versions
<next upstream patch>-dev.giantswarm.<date>.<time>.h<sha7>; a v* tag publishes
a release. Every own image is Trivy-scanned before the charts are pushed;
.trivyignore holds time-boxed acceptances only.

sync-upstream.yaml (weekly + dispatch, taylorbot token): force-mirrors upstream
main (upstream rebases its main onto agent-substrate), probes whether the
carried patches still rebase onto it, and on a pin input re-pins the branch —
rebase, build, test, force-push — or opens a hand-over pull request naming the
conflicting patch.

Signed-off-by: Timo Derstappen <timo@giantswarm.io>
…Giant Swarm line

FORK.md records the pin (v0.0.26, kagent's go.mod replace), the carried
patches with their upstream state, the re-pin procedure, what is published
where and under which versions, the assets that are not images (gVisor runsc,
micro-VM), the consumers, and how to contribute (upstream first, DCO).
Team Bumblebee owns the fork (giantswarm/giantswarm#37757).

Signed-off-by: Timo Derstappen <timo@giantswarm.io>
A negated grep never trips set -e; the check that no upstream registry
reference survives the stamping now fails the job explicitly.

Signed-off-by: Timo Derstappen <timo@giantswarm.io>
giantswarm/github's align-files writes a root CODEOWNERS for every repository
of a team file and overwrites one it recognises as generated; keeping the
same content here means the align run finds nothing to change.

Signed-off-by: Timo Derstappen <timo@giantswarm.io>
hack/verify/boilerplate.sh (part of run-tests) requires the Apache header on
every source file; the fork's files carry it as The Agent Substrate Authors.

Signed-off-by: Timo Derstappen <timo@giantswarm.io>
@teemow
teemow merged commit 734ec53 into giantswarm Sep 10, 2026
4 checks passed
@teemow
teemow deleted the fork/line-bootstrap branch September 10, 2026 19:33
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.

1 participant