kpack-cli icon indicating copy to clipboard operation
kpack-cli copied to clipboard

kp image trigger error output

Open sukhil-suresh opened this issue 5 years ago • 3 comments

[Reported by @mgbrodi]

Problem: when kp image trigger was run, it resulted in an unrelated and confusing error message, especially since the user expects a build to be triggered by the command.

Error: no builds found

The expectation is to show a more helpful error message.

For this particular case, the root cause of failure was identified as invalid creds for the image - git secret for a private repo was created with a public key (instead of a private key) and also there was a basic auth secret created for an MFA enabled Github account

sukhil-suresh avatar Sep 17 '20 00:09 sukhil-suresh

what trigger really means is invalidate the last build, and run another one

kpack is always checking that the last build is valid, and if not, then it will run another build. running trigger makes the last build invalid and so kpack runs it again

sampeinado avatar Sep 18 '20 15:09 sampeinado

while pushing kpack build image to harbor . i am getting the following error

Error: images.kpack.io "f1c816bf556c88881308j363e48aac28e090e0f9" already exists

kvsuresh14 avatar Jan 29 '21 09:01 kvsuresh14

I have also this error. How can I start a new build?

nicolimo86 avatar Mar 08 '23 15:03 nicolimo86