Skip to content

[BUG] shp build run --follow doesn't stream logs for buildruns with multiple pods #386

@kaizakin

Description

@kaizakin

Is there an existing issue for this?

  • I have searched the existing issues

Kubernetes Version

No response

Shipwright Version

No response

Current Behavior

--follow assumes only 1 pod is created per buildrun. as soon as the first pod exits log streaming exits instead of iterating over the second pod.

current logic assumes buildruns are created using tekton taskruns, since pipelinerun executor has been added recently to shipwright --follow logic must get updated as well.

Expected Behavior

No response

Steps To Reproduce

Create a buildrun with PipelineRun as the executor

Anything else?

No response

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions