What was done:
- make changes to the open api schema
- refactor the logs endpoint to stream logs
followoption is set.
- get tests to pass
- refactor the builds-cli
- find out why api-gateway nginx doesn't allow streaming (or atleast why it is not working for in our case)
OUT_OF_K8S_RUN=true go run cmd/main.goto run the go server
- then stream the logs of a running build with
curl -H "ssl-client-subject-dn: CN=minikube-user,O=system:masters" --cert ~/.minikube/profiles/minikube/client.crt --key ~/.minikube/profiles/minikube/client.key --insecure 'http://localhost:8000/v1/build/<build_id>/logs?follow=true'
Bug: T339922 Depends-on: toolforge-weld!24 (merged)