-
Notifications
You must be signed in to change notification settings - Fork 428
feat: add ko test command to build with go test -c #1407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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.
55a1914 to
8d932eb
Compare
|
This Pull Request is stale because it has been open for 90 days with |
|
Oh noes! This could be helpful! |
|
This Pull Request is stale because it has been open for 90 days with |
|
This Pull Request is stale because it has been open for 90 days with |
|
what is missing in this PR? not being able to compile test binaries with |
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.