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

Feature: build step logs tailing #146

Closed
viraptor opened this issue May 18, 2023 · 1 comment
Closed

Feature: build step logs tailing #146

viraptor opened this issue May 18, 2023 · 1 comment
Labels

Comments

@viraptor
Copy link

I'd love to be able to tail a specific step of the build in my terminal.

I imagine it would work with something like:

bk build create ...
# get the build id

bk build log (build id) "Step name"
# downloads the output

bk build tail (build id) "Step name"
# follows output of a running step
@mcncl
Copy link
Contributor

mcncl commented Oct 13, 2024

@viraptor 👋 with the release of 3.x.x I'm taking a look through issues opened to see what we might be able to add; there isn't really a way for us to do this given logs don't stream to an API endpoint, so we'd either need to print job logs as a job finished, which isn't a stream you can then "tail". We have added in the bk build watch command which will kind of tail to the terminal as job states change/update and will update the build state too. Let us know if that covers your needs, given log streaming isn't really an option, at least in a live sense.

@mcncl mcncl closed this as not planned Won't fix, can't repro, duplicate, stale Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants