-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
RFE: Workflow convergence based on status of all the previous jobs #3054
Comments
The way to expand on this would be to add a conditional on the convergence point to decide on whether a condition should be applied based on the state of previous jobs leading to the converged node. |
…oup_type fix issue with ldap queries containing unicode
DEPENDENCY/ORDER OF OPERATION: NO WE WILL NOT DO:
API SCHEMA:
UI:
|
@Dagon- @piroux I've written a blog post on how to, effectively, get AND behavior out of a workflow as a stop gap https://www.ansible.com/blog/tower-workflow-convergence Let me know if that meets your needs. |
It would be great to have this as a standard product feature. To only have logical OR convergence is insufficient. |
i think currently in conjunction with the "on success" run option the OR is a pretty unexpected result, as when the user arrived at the convergence step they would have chosen that option already differently to handle the failed states. only giving my 2c because i think surfacing an API to the user to handle partial failure behavior any/all takes on less importance. |
@rebeccahhh have you synced up w/ @appuk lately on this? |
@kdelee yep, we've been chatting |
I would actually call it a bug instead of feature idea:) |
Tests PR merged, hence closing the issue |
Please add link to commit/merge |
ISSUE TYPE
COMPONENT NAME
SUMMARY
Currently, if you have two jobs in a Workflow converging in one with RUN condition "On success", Tower runs the job if one of the previous one finishes successfully and not if both finish successfully. It would be great if you could set a RUN condition like "Run this convergent job just if these previous jobs finish successfully".
ADDITIONAL INFORMATION
Workflow example:
In the example provided, "Job Template 1" and "Job Template 2" are set with RUN condition "On success", but Tower runs "Job Tempate 3" if one of the previous jobs finishes successfully and not if both finish successfully.
The text was updated successfully, but these errors were encountered: