From 657b0126aee48d21e656d97e4b8388c8103e5e8b Mon Sep 17 00:00:00 2001 From: ish Date: Fri, 15 Nov 2024 17:22:54 +0900 Subject: [PATCH] airflow: Fix trigger_email tasks dependencies --- .../example/workflow_template/migrate_infra_workflow.json | 5 ++++- .../workflow_template/migrate_software_workflow.json | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/lib/airflow/example/workflow_template/migrate_infra_workflow.json b/lib/airflow/example/workflow_template/migrate_infra_workflow.json index b338b92..9af6f12 100644 --- a/lib/airflow/example/workflow_template/migrate_infra_workflow.json +++ b/lib/airflow/example/workflow_template/migrate_infra_workflow.json @@ -29,7 +29,10 @@ }, { "name": "send_result_via_email", - "task_component": "trigger_email" + "task_component": "trigger_email", + "dependencies": [ + "register_target_to_source_group" + ] } ] } diff --git a/lib/airflow/example/workflow_template/migrate_software_workflow.json b/lib/airflow/example/workflow_template/migrate_software_workflow.json index 8a2dd5b..6466e16 100644 --- a/lib/airflow/example/workflow_template/migrate_software_workflow.json +++ b/lib/airflow/example/workflow_template/migrate_software_workflow.json @@ -33,7 +33,11 @@ }, { "name": "send_result_via_email", - "task_component": "trigger_email" + "task_component": "trigger_email", + "dependencies": [ + "software_migration_nfs_server", + "software_migration_web_server" + ] } ] }