Created
May 18, 2022 10:35
-
-
Save yohamta/46861774c077e78ee268266ae3676033 to your computer and use it in GitHub Desktop.
Example DAG definition for Dagu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: complex DAG3 | |
steps: | |
- name: "Initialize" | |
command: "sleep 1" | |
- name: "Copy TAB_1" | |
description: "Extract data from TAB_1 to TAB_2" | |
command: "sleep 1" | |
depends: | |
- "Initialize" | |
- name: "Update TAB_2" | |
description: "Update TAB_2" | |
command: "sleep 1" | |
depends: | |
- Copy TAB_1 | |
- name: Validate TAB_2 | |
command: "sleep 1" | |
depends: | |
- "Update TAB_2" | |
- name: "Load TAB_3" | |
description: "Read data from files" | |
command: "sleep 1" | |
depends: | |
- Initialize | |
- name: "Update TAB_3" | |
command: "sleep 1" | |
depends: | |
- "Load TAB_3" | |
- name: Merge | |
command: "sleep 1" | |
depends: | |
- Update TAB_3 | |
- Validate TAB_2 | |
- Validate File | |
- name: "Check File" | |
command: "sleep 1" | |
- name: "Copy File" | |
command: "sleep 1" | |
depends: | |
- Check File | |
- name: "Validate File" | |
command: "sleep 1" | |
depends: | |
- Copy File | |
- name: Calc Result | |
command: "sleep 1" | |
depends: | |
- Merge | |
- name: "Report" | |
command: "sleep 1" | |
depends: | |
- Calc Result | |
- name: Reconcile | |
command: "sleep 1" | |
depends: | |
- Calc Result | |
- name: "Cleaning" | |
command: "sleep 1" | |
depends: | |
- Reconcile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment