-
Notifications
You must be signed in to change notification settings - Fork 223
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
TEP-0047: Update and move to implementable #593
Conversation
/assign |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for picking this up @abayer!
I'm hesitant about marking this TEP implementable
when there are details that have not been fleshed out yet. At minimum, I suggest that we include some alternatives to the proposed solution and why we won't implement those alternatives. One alternative is using annotations as proposed by @sbwsg in #319 (comment).
None. | ||
|
||
## Alternatives | ||
|
||
To be determined. | ||
TBD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There were some alternatives discussed in the original proposal, such as using annotations, could they please be added here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For Pipeline
and Task
, I think the only value I see in those field is to be able to use them in variable interpolation — as today, we can't use annotations — but I am not sure what the use case would be here. If we don't have this need, an annotation just does the job, doesn't it ?
For PipelineTask
(aka Task referenced in a Pipeline
), the question is different 👼🏼
Ok, I need to think on this. There's already a Then for I honestly don't know what's best here. I don't see any solution that isn't at least a bit confusing or problematic (i.e., removing |
/kind tep |
/assign @vdemeester |
My initial thought on this is, "why do we need DisplayName ?" and "why are we the only one in need of this ?", aka why the All in all, I don't think having those in would be such a big deal either, it could be interesting if they could be used in variable interpolation ("be aware of injection", cc #596) but otherwise they seem harmless so… I can live with having those fields in 👼🏼 /approve |
@vdemeester: GitHub didn't allow me to request PR reviews from the following users: abayer. Note that only tektoncd members and repo collaborators can review this PR, and authors cannot review their own PRs. 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. |
@abayer we discussed this at the API working group on 03/14 and agreed to support the display name in the spec, alongside the descriptions. Please add these alternatives in the TEP:
With the above updates, the TEP should be good to go 🙏🏾 |
woot woot. let me know if you need me to do anything. |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
this still alive? |
@abayer please rebase API WG 6/13: good to go (anyone can add lgtm after PR is rebased) |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
ping |
This is rather straightforward as written - we just need to add `DisplayName` fields to `PipelineSpec`, `TaskSpec`, and `PipelineTask`, and add a `Description` field to `PipelineTask`. Signed-off-by: Andrew Bayer <[email protected]>
7d9fd13
to
8d9ca95
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jerop, vdemeester The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/remove-lifecycle rotten |
Agreed during WG |
This is rather straightforward as written - we just need to add
DisplayName
fields toPipelineSpec
,TaskSpec
, andPipelineTask
, and add aDescription
field toPipelineTask
.Signed-off-by: Andrew Bayer [email protected]