Jib Builder: add more tests#2390
Conversation
Signed-off-by: David Gageot <david@gageot.net>
Codecov Report
|
| ) | ||
|
|
||
| // For testing | ||
| var ( |
There was a problem hiding this comment.
I don't really understand this specific part? Does this just become a variable in the scope of the local pkg? Was there some problem with using the direct reference (docker.RemoteDigest) in the jib files? Mostly because it seems harder to find the reference now, when looking through code.
There was a problem hiding this comment.
This is the simplest way to mock the call to docker.RemoteDigest. We use that pattern in. a lot of places.
|
@loosebazooka Looks like the changes to the owners file are still not enough |
|
Might be because you made a change to |
|
@dgageot as a followup perhaps change all of the |
|
Well, let’s do it only when a test requires it. |
Signed-off-by: David Gageot david@gageot.net