Skip to content
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

Add --dry-run Option for tkn clustertask start #659

Closed
danielhelfand opened this issue Jan 30, 2020 · 0 comments · Fixed by #663
Closed

Add --dry-run Option for tkn clustertask start #659

danielhelfand opened this issue Jan 30, 2020 · 0 comments · Fixed by #663
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@danielhelfand
Copy link
Member

danielhelfand commented Jan 30, 2020

Similar to #654 but for ClusterTasks/TaskRuns

Expected Behavior

#643 added the ability to view a PipelineRun without creating the PipelineRun via a --dry-run option with tkn pipeline start. This same behavior should exist for tkn clustertask start with viewing a TaskRun.

This should be able to follow the design in #643 where tkn clustertask start <clusterTaskName> --dry-run produces yaml stdout of the TaskRun without actually creating the TaskRun.

There should also be an --output option that can be used with --dry-run to specify json or yaml output formats to display the TaskRun.

@danielhelfand danielhelfand added the kind/feature Categorizes issue or PR as related to a new feature. label Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant