Closed maroshii closed 2 years ago
This also happens for errors:
{"level":"info","stage":"helm upgrade --install movies chart --set tag=${OKTETO_GIT_COMMIT}","message":"Release \"movies\" does not exist. Installing it now.","timestamp":1639588299}
x Error executing command 'helm upgrade --install movies chart --set tag=${OKTETO_GIT_COMMIT}': exit status 1
Which doesn't allow correctly parsing error lines.
For errors we should probably set stage="error"
or keep the previous stage if possible. For non important lines that are not part of a stage we can probably go with stage=""
Describe the bug
okteto deploy -o json
should send all output in json format. There are a few lines that are not in json which makes it hard to parse the output:Expected behavior Either add a
--silent
option or send the output in json as the other lines with an empty stage (so it can be easily omitted on the other side)