You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running mvn jib:build, there are various failures caught in the BuildImageMojo#buildImage method. These catches provide extra feedback to the user to help them understand the issue and provide suggestions for how to fix the issue.
The actionables are to:
Figure out what other build failures there are, if any (compile a list and maybe add that below)
Add similar handling for these build failures.
(Maybe improve how these failures are handled currently)
@TadCordle Do you want to take a stab at this? This could get you acclimated to various codepaths Jib takes and understand the user experience (and improve it).
Another thing I saw was if for example, the user does not define a credHelper, but Jib tried to use the Docker config for credentials, but the credentials in there were for a different GCP project than the project you want to push to, the build fails with no suggestions. We might want to explore providing better feedback in these cases where we have the same registry but the credentials retrieved are not correct.
When running
mvn jib:build
, there are various failures caught in theBuildImageMojo#buildImage
method. These catches provide extra feedback to the user to help them understand the issue and provide suggestions for how to fix the issue.The actionables are to:
Build failures to handle:
Could not find or load main classJust noticed Infer main class by searching for class with main method. #189 is already a thingmvn clean jib:build
)x
to Enum" if imageFormat isn'tDocker
orOCI
The text was updated successfully, but these errors were encountered: