Skip to content

OpenShift Pipelines Terminal Emulator #2185

@Joshua-Beha

Description

@Joshua-Beha

Overview

I have recently been working on improving the logging output of a custom ClusterTask. As part of the improvements, I would like to add colored lines and hyperlinks to the output. I noticed that if I view task logs from the OpenShift Operator console, colored outputs and hyperlinks are not properly formatted. For instance:

Image

If I find the pod and view the logs from the OpenShift GUI (not in the pipelines view) I can see the formatted output as expected:

Image

(I did use set -x such that the commands for creating the hyperlink and completing the text formatting are visible.)

This leads me to believe that the terminal emulator is slightly different between the two implementations. It would be great to be able to view the formatted output from the PipelineRun Logs view.

Version info

OCP 4.15.45 (also noticed on 4.14.38)
OCP pipelines operator v1.17.1
Image used for custom task: registry.access.redhat.com/ubi9/ubi:latest
Architectures: x86 and s390x

Also, if this is the wrong place to raise this issue, please feel free to point me in the right direction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions