-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Design + POC: CLI tool for visualizing pipeline #35
Comments
For an example of what output we'd expect, looking at the example pipelines we would expect that this tool could create an image (e.g. svg) or diagram (e.g. ascii art in the terminal) like the guestbook png. |
This would be very useful to have (I was going to suggest this earlier today and so there's a bit more context and background that we might need!): I'm debugging the build-pipeline example now and I see Tasks, PipelineResources and also the PipelineRun itself. Our pipeline controller performs validation in terms of checking inputs and outputs. Prior work The DAG Execution graph feature, which is available via the Apache Spark web UI, makes it easy to figure out which steps are going to happen after another and makes for an easier understanding of what could be a complex sequence of instructions. Something like this would be perfect See https://databricks.com/blog/2015/06/22/understanding-your-spark-application-through-visualization.html as well, particularly the Execution DAG image for reference. A specific problem I'm seeing:
What I'd want to find out
How could we do it?
We could allow users to pick a PipelineRun (or several) across different namespaces. We'd then, for each PipelineRun, display all Pipelines and Tasks, all inputs and outputs, and what depends on what. Some data to play with... Here's my failed PipelineRun as yaml:
Questions
|
(General CLI Request) I think it would be great if we could run tasks locally. I think the concept of |
/assign |
@vdemeester now that we've got https://github.com/tektoncd/cli I'm thinking we could close this issue, what do you think? :D |
@bobcatfish I think we can close this issue and migrate any cli related issues in the new repository yes. |
@vdemeester: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Update base images to UBI8 GA
This task is to propose a design and also create a POC tool that demonstrates that design.
Expected Behavior
We would like to have a CLI tool for interacting with the Pipeline CRD, to make it easier for a user to deal with all that YAML. The first feature we want from this tool is to visualize, on the command line, the DAG of a Pipeline.
Actual Behavior
As a Pipeline gets more complex, e.g. with Fan in and Fan out, it can be harder and harder to understand from the yaml alone. Also since the DAG is created by:
next
tasksprev
tasksthe order the Tasks are declared in the Pipeline itself doesn't matter, which could be confusing for someone working with this yaml.
The text was updated successfully, but these errors were encountered: