-
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
fix: stepaction param default value referencing other param #8513
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test check-pr-has-kind-label |
@waveywaves: The specified target(s) for
The following commands are available to trigger optional jobs:
Use 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. |
/kind bug |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
ba4a742
to
925fa4e
Compare
925fa4e
to
cfc546f
Compare
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.
|
cfc546f
to
6fd9787
Compare
- multipass default value substitution: one for non referenced default values, another one for parameter references in default values - add validation to ensure parameters referenced in default values are defined before use - substitute default values of parameters with referenced parameter values if necessary - update replacementsFromStepResults to only process step result references - add comments which highlight order of hydration of parameters - add tests for replacementsFromStepResults, validateDefaultParameterReferences - add example for parameter references in default values of step action parameters Signed-off-by: Vibhav Bobade <[email protected]>
6fd9787
to
b933b16
Compare
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.
|
I had added two tests, had to remove them because I made a lot of changes to the main code after, I will add those tests back again soon. Any reviews would still be appreciated. |
turning this into a draft PR, found some bugs while testing |
closing this PR, it can be broken down into smaller PRs |
Changes
fixes #7935
/kind bug
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes