Skip to content
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

kp build logs should support one-off builds #255

Open
ekcasey opened this issue Jun 21, 2022 · 0 comments
Open

kp build logs should support one-off builds #255

ekcasey opened this issue Jun 21, 2022 · 0 comments

Comments

@ekcasey
Copy link

ekcasey commented Jun 21, 2022

The kpack API supports one-off imperative builds with the Build resource, without requiring the creation of an Image resource. This is especially useful for debugging, when it is sometimes convenient to recreate an issue with a pre-built builder image created by pack or another instance of kpack.

To improve this debugging experience, I would like to be able to see the build logs with kp build logs even when I have created the build imperatively.

I am not sure what the least awkward interface is. Maybe one of the following?

kp build logs --build-name my-build
kp build logs my-build # looks for builds if it can't find an image
kp build logs my-build --kind build # kinda weird, probably not the best
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

No branches or pull requests

1 participant