def get_drydock_build(self, task_id=dn.DRYDOCK_BUILD_DAG_NAME): """Generate the drydock build step Drydock build does the hardware provisioning. """ return SubDagOperator(subdag=deploy_site_drydock( self.parent_dag_name, task_id, args=self.default_args), task_id=task_id, on_failure_callback=step_failure_handler, dag=self.dag)
args=default_args), task_id=DECKHAND_GET_DESIGN_VERSION, on_failure_callback=failure_handlers.step_failure_handler, dag=dag) validate_site_design = SubDagOperator( subdag=validate_site_design(PARENT_DAG_NAME, VALIDATE_SITE_DESIGN_DAG_NAME, args=default_args), task_id=VALIDATE_SITE_DESIGN_DAG_NAME, on_failure_callback=failure_handlers.step_failure_handler, dag=dag) drydock_build = SubDagOperator( subdag=deploy_site_drydock(PARENT_DAG_NAME, DRYDOCK_BUILD_DAG_NAME, args=default_args), task_id=DRYDOCK_BUILD_DAG_NAME, on_failure_callback=failure_handlers.step_failure_handler, dag=dag) armada_build = SubDagOperator( subdag=deploy_site_armada(PARENT_DAG_NAME, ARMADA_BUILD_DAG_NAME, args=default_args), task_id=ARMADA_BUILD_DAG_NAME, on_failure_callback=failure_handlers.step_failure_handler, dag=dag) # DAG Wiring concurrency_check.set_upstream(action_xcom)