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

Print overridden args at the beginning of each target and also on failure #510

Closed
wants to merge 3 commits into from

Conversation

vladaionescu
Copy link
Member

@vladaionescu vladaionescu commented Nov 17, 2020

Some example of how this looks like (dark gray text):

Screenshot from 2020-11-17 16-02-45
Screenshot from 2020-11-17 16-03-02
Screenshot from 2020-11-17 16-09-32

Verbose mode prints the overridden build args before every single command.

Screenshot from 2020-11-17 16-23-54

The information is passed via the buildkit vertex name, with any overridden build args encoded in brackets as +target(<base64 build args string>) and then interpreted by the solver monitor and printed accordingly.

@vladaionescu vladaionescu changed the title Print args in command header Print overridden args at the beginning of each target and also on failure Nov 18, 2020
@vladaionescu vladaionescu marked this pull request as ready for review November 18, 2020 00:24
@vladaionescu
Copy link
Member Author

Merged as part of #514

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

Successfully merging this pull request may close these issues.

None yet

2 participants