-
Notifications
You must be signed in to change notification settings - Fork 69
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
chore: update buildkit to 1.13.1 #532
Conversation
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #532 +/- ##
==========================================
+ Coverage 32.51% 35.63% +3.12%
==========================================
Files 17 17
Lines 1621 1305 -316
==========================================
- Hits 527 465 -62
+ Misses 1062 808 -254
Partials 32 32 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
pkg/patch/patch.go
Outdated
var c console.Console | ||
if cn, err := console.ConsoleFromFile(os.Stderr); err == nil { | ||
c = cn | ||
} | ||
mode := progressui.AutoMode | ||
if log.GetLevel() >= log.DebugLevel { | ||
mode = progressui.PlainMode | ||
} | ||
display, err := progressui.NewDisplay(c, mode) | ||
if err != nil { | ||
return err | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var c console.Console | |
if cn, err := console.ConsoleFromFile(os.Stderr); err == nil { | |
c = cn | |
} | |
mode := progressui.AutoMode | |
if log.GetLevel() >= log.DebugLevel { | |
mode = progressui.PlainMode | |
} | |
display, err := progressui.NewDisplay(c, mode) | |
if err != nil { | |
return err | |
} | |
out := os.Stderr | |
if cf, _ := console.ConsoleFromFile(os.Stderr); cf != nil { | |
out = cf | |
} | |
mode := progressui.AutoMode | |
if log.GetLevel() >= log.DebugLevel { | |
mode = progressui.PlainMode | |
} | |
display, err := progressui.NewDisplay(out, mode) | |
if err != nil { | |
return err | |
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cpuguy83 i removed ConsoleFromFile
completely, wdyt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think if you do that it will never do TTY mode?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested and works with tty (output is glitchy for whatever reason on my terminal, but it was the same before)
e670e30
to
bc84fdf
Compare
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Describe the changes in this pull request using active verbs such as Add, Remove, Replace ...
Closes #<issue_ID>