GoogleContainerTools/skaffold

Confusion between Jib and Skaffold output

Open

#3 978 ouverte le 18 avr. 2020

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Go (1 416 forks)batch import
area/loggingbugbash/q4-2022help wantedkind/design discussion

Métriques du dépôt

Stars
 (12 822 stars)
Métriques de merge PR
 (Merge moyen 1j 18h) (18 PRs mergées en 30 j)

Description

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.

Guide contributeur