-
Notifications
You must be signed in to change notification settings - Fork 221
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-0050] Simplify continueAndFail to continue #1075
[TEP-0050] Simplify continueAndFail to continue #1075
Conversation
Prior to this commit, the proposal 2 valid values for `PipelineTask` `OnError` field: `continueAndFail` and `StopAndFail`. `continueAndFail` indicates to fail the `PipelineTask`, continue to execute the DAG, and DO NOT fail the `PipelineRun`. However, the name `continueAndFail` is very confusing since - 'continue' and 'Fail' sounds like a conflict (see [comment](tektoncd#785 (comment))) - 'Fail' could be intepreted as failing the whole `pipelinerun`, which is not the expected behavior This commit simplifies the value to `continue`. This is more straightforward and more consistent with `step.OnError`. /kind tep
Makes sense to me. |
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.
thanks a bunch @QuanZhang-William for your patience and excited to have this feature 🎉
Since its a small change - renaming one of the options - I think we can merge this |
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: dibyom, jerop, pritidesai 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 |
Prior to this commit, the proposal 2 valid values for
PipelineTask
OnError
field:continueAndFail
andStopAndFail
.continueAndFail
indicates to fail thePipelineTask
, continue to execute the DAG, and DO NOT fail thePipelineRun
. However, the namecontinueAndFail
is very confusing sincecontinue
andFail
sounds like a conflict (see comment)Fail
could be interpreted as failing the wholepipelinerun
, which is not the expected behaviorThis commit simplifies the value to
continue
. This is more straightforward and more consistent withstep.OnError
./kind tep