kots icon indicating copy to clipboard operation
kots copied to clipboard

kots admin-console upgrade does not exit with an error code

Open fallais opened this issue 2 years ago • 1 comments

Version : all

Command : kots admin-console upgrade Use case : Version mismatch Example : KOTS CLI version 1.106.0 does not match API version 1.105.4.

It exits with status code 0, it should be 1 or more. When using it in CICD pipelines, it is hard to catch there is an issue.

fallais avatar Jan 24 '24 15:01 fallais

Sorry for just getting around to this. The missing error code from the Kots CLI is a relatively easy fix and the benefit is pretty clear. I will put this in our backlog (no promise on timelines though).

jtuchscherer avatar Apr 03 '25 21:04 jtuchscherer