You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to have a way in Tekton to easily express the following dependency between Tasks in a pipeline: The 2nd task should run only after the 1st one was executed successfully or if the 1st one was skipped because of a condition.
Actual Behavior
If the 1st task is skipped because the condition is not met, the 2nd task is not executed at all.
In the example pipeline I used runAfter but I believe the behaviour would be the same if the dependency was introduced using from on a resource.
The text was updated successfully, but these errors were encountered:
afrittoli
changed the title
Behaviour of runAfter for a Task that runs after a Task with Condition
Behaviour of "runAfter" for a Task that runs after a Task with Condition
Sep 2, 2019
Expected Behavior
I would like to have a way in Tekton to easily express the following dependency between Tasks in a pipeline: The 2nd task should run only after the 1st one was executed successfully or if the 1st one was skipped because of a condition.
Actual Behavior
If the 1st task is skipped because the condition is not met, the 2nd task is not executed at all.
Steps to Reproduce the Problem
Additional Info
In the example pipeline I used
runAfter
but I believe the behaviour would be the same if the dependency was introduced usingfrom
on a resource.The text was updated successfully, but these errors were encountered: