Navigation Menu

Skip to content
This repository has been archived by the owner on Dec 27, 2020. It is now read-only.

Linux error messages contain lots of docker "errors" #18

Open
LordAro opened this issue Jan 16, 2019 · 3 comments
Open

Linux error messages contain lots of docker "errors" #18

LordAro opened this issue Jan 16, 2019 · 3 comments

Comments

@LordAro
Copy link
Member

LordAro commented Jan 16, 2019

image

As best I can tell, this "log preview" just displays the first N lines of stderr

It would be nice if the docker errors when building the image were able to be suppressed in some way, as they only serve to hide the actual compile error message people are interested in

@TrueBrain
Copy link
Member

You could add a step to the pipeline itself that does the pull manually, I guess. If I google around, I see more people are annoyed that this information is going to stderr (for no visible good reason why it is). Docker is a very weird CLI tool, with many quirks, sadly.

Another approach might be to figure out how to show warnings/errors like the MSBuild can. I would assume there is some way to do that. I just haven't found it.

Possibly you could ask on the azure-pipelines github issue tracker for help. Maybe others have suggestions and ideas.

@glx22
Copy link
Contributor

glx22 commented Sep 28, 2019

I know we don't use Docker@2 task, probably because it doesn't have run command, but in microsoft/azure-pipelines-tasks#11118 it's said a script is enough to run a docker, and maybe that could be a solution to filter/clean the output

@TrueBrain
Copy link
Member

The new and shiny way of doing this is GitHub Actions, which has solved these kind of things a bit smoother. The OpenTTD account is signed up, so it might be worth a look.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants