Skip to content

fix: add eidos binary to validator image#112

Closed
yuanchen8911 wants to merge 11 commits into
NVIDIA:mainfrom
yuanchen8911:fix/validator-image-eidos-binary
Closed

fix: add eidos binary to validator image#112
yuanchen8911 wants to merge 11 commits into
NVIDIA:mainfrom
yuanchen8911:fix/validator-image-eidos-binary

Conversation

@yuanchen8911

Copy link
Copy Markdown
Contributor

Summary

  • The validator Dockerfile only built test binaries (*.test) but not the main eidos binary
  • Agent jobs (pkg/k8s/agent/job.go:118) use /ko-app/eidos as the container command, which doesn't exist in the validator image
  • This breaks all eidos validate and eidos snapshot agent-based commands (affected: v0.5.7 through v0.5.16)
  • Adds go build -o /ko-app/eidos ./cmd/eidos to Dockerfile.validator and updates CMD to match

Test plan

  • Build validator image: docker build -f Dockerfile.validator -t eidos-validator:test .
  • Verify binary exists: docker run --rm eidos-validator:test ls -la /ko-app/eidos
  • Run eidos validate against a cluster with the new image

The validator Dockerfile only built test binaries but not the main
eidos binary. Agent jobs (validate, snapshot) expect the binary at
/ko-app/eidos, causing "no such file or directory" errors.

Build the eidos binary at /ko-app/eidos and update CMD to match.

Signed-off-by: Yuan Chen <[email protected]>
@yuanchen8911 yuanchen8911 requested a review from a team as a code owner February 12, 2026 21:19
@mchmarny mchmarny requested review from iamkhaledh and removed request for xdu31 February 12, 2026 23:01
@mchmarny

Copy link
Copy Markdown
Member

@iamkhaledh @xdu31 PTAL

@yuanchen8911 yuanchen8911 requested a review from dims February 12, 2026 23:56
@mchmarny mchmarny enabled auto-merge (squash) February 13, 2026 00:16
@mchmarny mchmarny disabled auto-merge February 13, 2026 00:16
@xdu31

xdu31 commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

The validator image only runs go test in phase Jobs, it never invokes /ko-app/eidos.

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically locked since it has been closed for 90 days with no further activity. Please open a new pull request for related changes.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators May 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants