buildkite-plugins / docker-buildkite-plugin

🐳📦 Run any build step in a Docker container
MIT License
113 stars 106 forks source link

Possibility to see output from command #134

Closed mrsimo closed 2 years ago

mrsimo commented 5 years ago

Our deploy pipeline is basically a docker run using this plugin. For other pipelines it wouldn't matter, but deploys... you do open it and want to see how it's going while it runs.

At the moment every time I open this pipeline I need to go and click on the tiny line that says "Running command in " so I can see the output. Would it be possible to have this block of logs open as default? Or configurable? I guess it'd mean changing this to a +++... no?

https://github.com/buildkite-plugins/docker-buildkite-plugin/blob/0d9b114b0ca8ec7167787285274aa3842392374d/hooks/command#L356

What do you all think?

pzeballos commented 2 years ago

Hey @mrsimo! Sorry for this very late reply! 😅 You are welcome to fork the repo and add that functionality (which you probably did 😛), but we want to keep consistency on the logs, and by default, we only expand the last one. Adding a new expanded group would add a lot of noise and many users prefer to have it collapse. Thanks!