shipyard/shipyard_airflow
Anthony Lin 6b0100ab00 [Fix] Update 'trigger_rule' for Airflow Upgrade
The current 'trigger_rule' is set to 'all_done' which means
that this task will run even if one of the upstream tasks,
e.g. 'drydock_build' failed (see [0] on how task is triggered).

This is an incorrect behavior as task should only run if all
upstream tasks have succeeded. This patch set is meant to
correct this behavior.

[0] https://airflow.incubator.apache.org/concepts.html#trigger-rules

all_success: (default) all parents have succeeded
all_failed: all parents are in a failed or upstream_failed state
all_done: all parents are done with their execution
one_failed: fires as soon as at least one parent has failed, it does not wait for all parents to be done
one_success: fires as soon as at least one parent succeeds, it does not wait for all parents to be done
dummy: dependencies are just for show, trigger at will

Change-Id: I571271b79cece268ae039420e12327f187e8f35c
2018-04-16 18:03:28 -04:00
..
2018-03-26 09:30:21 +00:00
2017-08-15 16:23:42 -05:00