Update deckhand_get_design Dag
The issue mentioned in [0] has been resolved by [1]. Hence we are uncommenting the codes in the dag. [0] https://github.com/att-comdev/deckhand/issues/18 [1] https://review.gerrithub.io/#/c/402182/ Change-Id: Iaf687ccf726df421c27d62cb33a05e17feb02a45
This commit is contained in:
parent
bd7227d78c
commit
479042c7d6
|
@ -14,6 +14,7 @@
|
|||
|
||||
from airflow.models import DAG
|
||||
from airflow.operators import DeckhandGetDesignOperator
|
||||
from airflow.operators import DeckhandValidateSiteDesignOperator
|
||||
|
||||
|
||||
# Location of shiyard.conf
|
||||
|
@ -37,20 +38,14 @@ def get_design_deckhand(parent_dag_name, child_dag_name, args):
|
|||
sub_dag_name=child_dag_name,
|
||||
dag=dag)
|
||||
|
||||
# TODO: There is a bug in Deckhand client that is preventing
|
||||
# 'shipyard_retrieve_rendered_doc' from working properly. We
|
||||
# are commenting this part of the workflow while we resolve
|
||||
# the issue with the Deckhand client. We will uncomment this
|
||||
# block once the issue with Deckhand is resolved.
|
||||
#
|
||||
# shipyard_retrieve_rendered_doc = DeckhandValidateSiteDesignOperator(
|
||||
# task_id='shipyard_retrieve_rendered_doc',
|
||||
# shipyard_conf=config_path,
|
||||
# main_dag_name=parent_dag_name,
|
||||
# sub_dag_name=child_dag_name,
|
||||
# dag=dag)
|
||||
shipyard_retrieve_rendered_doc = DeckhandValidateSiteDesignOperator(
|
||||
task_id='shipyard_retrieve_rendered_doc',
|
||||
shipyard_conf=config_path,
|
||||
main_dag_name=parent_dag_name,
|
||||
sub_dag_name=child_dag_name,
|
||||
dag=dag)
|
||||
|
||||
# Define dependencies
|
||||
# shipyard_retrieve_rendered_doc.set_upstream(deckhand_design)
|
||||
shipyard_retrieve_rendered_doc.set_upstream(deckhand_design)
|
||||
|
||||
return dag
|
||||
|
|
Loading…
Reference in New Issue