When runing toolforge build show on a build entry that has no status, the cli breaks with:
dcaro@vulcanus$ toolforge build show minikube-user-buildpacks-pipelinerun-jpgbk Traceback (most recent call last): File "/home/dcaro/.virtualenvs/toolforge-cli-python3/bin/toolforge", line 8, in <module> sys.exit(main()) File "/home/dcaro/Work/wikimedia/toolforge-cli/toolforge_cli/cli.py", line 563, in main toolforge() File "/home/dcaro/.virtualenvs/toolforge-cli-python3/lib/python3.10/site-packages/click/core.py", line 1130, in __call__ return self.main(*args, **kwargs) File "/home/dcaro/.virtualenvs/toolforge-cli-python3/lib/python3.10/site-packages/click/core.py", line 1055, in main rv = self.invoke(ctx) File "/home/dcaro/.virtualenvs/toolforge-cli-python3/lib/python3.10/site-packages/click/core.py", line 1657, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/dcaro/.virtualenvs/toolforge-cli-python3/lib/python3.10/site-packages/click/core.py", line 1657, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/dcaro/.virtualenvs/toolforge-cli-python3/lib/python3.10/site-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/dcaro/.virtualenvs/toolforge-cli-python3/lib/python3.10/site-packages/click/core.py", line 760, in invoke return __callback(*args, **kwargs) File "/home/dcaro/Work/wikimedia/toolforge-cli/toolforge_cli/cli.py", line 530, in build_show status = next(condition for condition in run["status"]["conditions"] if condition["type"] == "Succeeded") KeyError: 'status'
See the full run object as json here:
This object was created with a broken installation that did not start the runs (ex. with the tekton-controller stopped)