ko icon indicating copy to clipboard operation
ko copied to clipboard

feat: add ko test command to build with go test -c

Open vincent-d opened this issue 1 year ago • 5 comments

Add a new command to build images with the output of go test -c.

It allows configuring build and LD flags in .ko.yaml with different values for build and test commands for a given importpath.

This is a new attempt at implementing #96 with a separate command.

vincent-d avatar Sep 25 '24 12:09 vincent-d

This Pull Request is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Keep fresh with the 'lifecycle/frozen' label.

github-actions[bot] avatar Feb 04 '25 01:02 github-actions[bot]

Oh noes! This could be helpful!

StevenACoffman avatar Feb 04 '25 16:02 StevenACoffman

This Pull Request is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Keep fresh with the 'lifecycle/frozen' label.

github-actions[bot] avatar May 06 '25 01:05 github-actions[bot]

This Pull Request is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Keep fresh with the 'lifecycle/frozen' label.

github-actions[bot] avatar Sep 01 '25 01:09 github-actions[bot]

what is missing in this PR?

not being able to compile test binaries with ko is a blocker. hope someone finds the time to merge this 🙏🏼

clementnuss avatar Sep 22 '25 04:09 clementnuss