The code at https://gitlab.wikimedia.org/repos/cloud/toolforge/builds-api can be extended to present a GET /build/{id} endpoint.
This can be later used by the CLI client.
Currently the client show this info:
tools.sample-php-buildpack-app@tools-sgebastion-10:~$ toolforge build show
Name: sample-php-buildpack-app-buildpacks-pipelinerun-8jzx7
Start time: 2023-06-21T11:41:13Z
End time: 2023-06-21T11:42:10Z
Status: ok (Succeeded)
Message: Tasks Completed: 1 (Failed: 0, Cancelled 0), Skipped: 0
Parameters:
source_url: https://gitlab.wikimedia.org/toolforge-repos/sample-php-buildpack-app
ref: first_commit
image_name: sample-php-buildpack-app
image_tag: latest
repo_url: tools-harbor.wmcloud.org/tool-sample-php-buildpack-app
builder_image: tools-harbor.wmcloud.org/toolforge/heroku-builder-classic:22