GoogleContainerTools/skaffold

Confusion between Jib and Skaffold output

開放

#3,978 建立於 2020年4月18日

 (0 則留言) (0 個反應) (0 位負責人)Go (1,416 個分叉)batch import
area/loggingbugbash/q4-2022help wantedkind/design discussion

倉庫指標

星標
 (12,822 顆星)
PR 合併指標
 (平均合併 3天 6小時) (30 天內合併 16 個 PR)

描述

We've had a number of situations now where users have encountered hard-to-diagnose authentication errors when using Jib with Skaffold. Often the image build succeeds with Jib but then Skaffold exits with a failure. For example, this StackOverflow question has in the logs:

[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  20.058 s
[INFO] Finished at: 2020-04-15T08:45:57+03:00
[INFO] ------------------------------------------------------------------------
Pruning images...
FATA[0024] exiting dev mode because first build failed: build failed: building [registry.demo/springtokube]: build artifact: getting image: GET http://registry.demo/v2/: : Not Found

We should make a clearer difference between builder output and Skaffold's output. Perhaps prefixing builder output with > or | ? Or clear begin and end markers.

And this error message doesn't indicate why it's trying to get the image.

貢獻者指南