-
Notifications
You must be signed in to change notification settings - Fork 239
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 Task timeout and params in Pipeline Desc #962
Conversation
The following is the coverage report on the affected files.
|
/test pull-tekton-cli-build-tests |
The following is the coverage report on the affected files.
|
In testing this locally, I am seeing that running a
|
@danielhelfand I didn't get this. Could you please clarify, what is the expectation here in |
In thinking this over, I guess was expecting to see a default value specified for the param that is declared on the Pipeline. For example, if the following were declared on the pipeline, it would show the default specified if the param has no declared value.
However, I realize that's a bit of a difficult task. It just seems a bit odd to display the actual syntax of how the param is declared on the pipeline. I'm wondering if it would be maybe more useful to display the param type in this case? |
@danielhelfand I tried both default value and type.
and with default value
which would be better to show? if value then do we need to mention that it is default value in bracket? And what if default value is not defined then? |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
Would be nice if the default value is shown if present but then show the type of no default value is available. |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
@danielhelfand yes. Now it checks for default value, if not available then shows param type in form |
This adds Task's timeout and params with value in pipeline desc. If param value is not defined checks for default value, if default value is not defined, shows param type. Closes tektoncd#764 tektoncd#765
The following is the coverage report on the affected files.
|
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.
/lgtm
Thanks @sm43!
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 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 |
Changes
This adds Task's timeout and params with value in pipeline desc.
If param value is not defined checks for default value,
if default value is not defined, shows param type.
Closes #764 #765
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
make check
make generated
Release Notes