-
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
Configurable displayName
for a Matrix TaskRun
#7082
Comments
would be great if variable substitution works on all |
+1 Maybe worth opening that as a specific feature request issue? |
Please check my response at #7273 (comment) Since PR #7273 does not solve for |
I'd be happy to help out with a TEP but I'm unlikely to have much free time for it before the end of the year. I've never done one before, I'll take a look through the TEP process and try and get one started. |
From @AlanGreene: Having displayName under matrix seems like the best option right now. We'd need to clearly document that pipelineTask.matrix.displayName takes precedence if pipelineTask.displayName is also set, and maybe produce a warning in this case? As discussed on Slack, ideally the resolved displayName with param / results references replaced would be made available somewhere for all consuming clients (Dashboard, tkn, OpenShift console, etc.) so they don't have to duplicate the effort of resolving it themselves. This could potentially be in pipelineRun.status.childReferences or similar. I was trying to remember what was the reason behind not implementing tektoncd/community#593 (comment) With the documented limitations, it will be best to introduce this in childReferences in addition to
|
@pritidesai Should we also make This would avoid the need for clients to try matching the TaskRuns back to the definition (based on the param values used by the TaskRun?) to find the optional name. I don't see another way to achieve this with the current behaviour and output, happy to learn if there's something I've missed. I don't see anything in the docs explaining the purpose or intention behind the |
@AverageMarcus @dev-wealthpilot @AlanGreene please help review the proposal - tektoncd/community#1122 Thanks! |
Feature request
A new field, that supports variable substitution, that allows specifying a display name to use for the Task in TaskRuns created from a Matrix.
Use case
TaskRuns created from a Pipeline Matrix all have the same Task name which requires checking each manually to find a specific combination.
I'd like to be able to configure the
displayName
property dynamically for each of the variations to make it easier to see which variation has passed and failed without needing to check all.E.g.
The field would need to be able to reference the variant parameters to be able to handle this, and optionally all the tasks params.
Possible approach:
I would expect a matrix
displayName
to override any otherdisplayName
if one is provided.The text was updated successfully, but these errors were encountered: