8000 feat: add ko test command to build with go test -c by vincent-d · Pull Request #1407 · ko-build/ko · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@vincent-d
Copy link

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.

Copy link
Member
@cpanato cpanato left a comment

Choose a reason for hiding this comment

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

small comments for now

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.
@vincent-d vincent-d force-pushed the feat/add-ko-test-command branch from 55a1914 to 8d932eb Compare November 5, 2024 11:03
@github-actions
Copy link
github-actions bot commented Feb 4, 2025

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.

@StevenACoffman
Copy link
Contributor

Oh noes! This could be helpful!

@github-actions
Copy link
github-actions bot commented May 6, 2025

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
Copy link
github-actions bot commented Sep 1, 2025

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.

@clementnuss
Copy link

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 🙏🏼

@github-actions github-actions bot 6CCA removed the lifecycle/stale label Sep 23, 2025
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.

4 participants

0