GoogleContainerTools/skaffold

Confusion between Jib and Skaffold output

Open

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

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Go (12,822 star) (1,416 fork)batch import
area/loggingbugbash/q4-2022help wantedkind/design discussion

描述

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.

貢獻者指南