Skip to content

Conversation

@anurag-harness
Copy link
Collaborator

@anurag-harness anurag-harness commented May 24, 2024

We need to parse the output of the docker buildx command and calculate cache metrics using that. In this PR we implement a Tee which takes a writer to write to and also creates another buffered channel to write to. The write function implemented by our Tee will write to stdout and to the channel.
The ParseCacheMetrics will read from the channel and parse metrics which it then writes to a file. We will display stats for all layers as well as the status and time for each layer

Screenshot 2024-05-24 at 3 10 31 PM

@rutvijmehta-harness rutvijmehta-harness merged commit cd942a3 into drone-plugins:master May 30, 2024
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.

2 participants