Skip to content

Remove makefile - #2374

Merged
Max Smythe (maxsmythe) merged 3 commits into
agent-substrate:mainfrom
ahmedtd:remove-makefile
Oct 9, 2026
Merged

Max Smythe (maxsmythe) merged 3 commits into
agent-substrate:mainfrom
ahmedtd:remove-makefile

Conversation

@ahmedtd

Copy link
Copy Markdown
Collaborator

Our entry points for building images and installing are the scripts under hack/ and cmd/ate-setup. Removing the Makefile cleans up a dev entrypoint we are no longer using.

@BenTheElder

Copy link
Copy Markdown
Collaborator

github workflow is calling the junit tool via makefile

Our entry points for building images and installing are the scripts
under hack/ and cmd/ate-setup.  Removing the Makefile cleans up a dev
entrypoint we are no longer using.

The primary functionality that still came from the Makefile was
`make build-release-images`.  This has been replaced by
`cmd/ate-setup publish release-images`
@ahmedtd

Copy link
Copy Markdown
Collaborator Author

github workflow is calling the junit tool via makefile

Yes, I see. There was also make build-release-images. Claude to the rescue.

@stshrive

Steven Shriver (stshrive) commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

Why is the pr-workflow not running for this change? It seems like it could break given that it, itself was modified.

Never mind, the successful runs were just hidden from the UI until I expanded it.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

two things for follow-up.

approving but not enabling the merge queue, so it can be merged or these can be fixed at discretion.

Comment thread AGENTS.md
- **Release images**: `make build-release-images KO_DOCKER_REPO=REPO VERSION=TAG` (every image a pre-built install needs, all tagged `TAG`, including the docker-built `envoy-dataplane`; `make build-envoy-dataplane` builds only that one)
### Building and Installing
- **Install from source**: `go run ./cmd/ate-setup deploy ate-system` (or the `hack/install-ate.sh` shim) builds every image with ko as part of the install; see `cmd/ate-setup/README.md`
- **Binaries**: `go build -o bin/kubectl-ate ./cmd/kubectl-ate`, `go build -o bin/ate-setup ./cmd/ate-setup`

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

These drop the ldflags that make build-atectl and make build-ate-setup passed.

Not blocking but we should probably have internal/version fall back to the module version.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Added. Actually, it seems like everything is available from debug.ReadBuildInfo()? I might follow up to remove the ability for these to be externally stamped.

if err != nil {
return err
}
envoy, err := images.PublishDockerfileImage(ctx, e.Cfg.Root, e.Cfg.KODockerRepo, envoyDataplaneImage, tag,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Not blocking: ko picks up defaultPlatforms (amd64 + arm64) from .ko.yaml, but envoy-dataplane falls back to amd64 only when KO_DEFAULTPLATFORMS is unset. So a default release is multi-arch except envoy.

We should probably fix that.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Addressed. The build also reads the platforms .ko.yaml now.

@maxsmythe Max Smythe (maxsmythe) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@maxsmythe
Max Smythe (maxsmythe) added this pull request to the merge queue Oct 9, 2026
Merged via the queue into agent-substrate:main with commit ea273bd Oct 9, 2026
14 checks passed
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.

5 participants