Skip to content

Commit 8bec503

Browse files
authored
[Chore] Add flame diagram in CI (#16847)
1 parent cbbd4cf commit 8bec503

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

.github/workflows/docs.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,18 @@ jobs:
5555
timeout-minutes: 30
5656
steps:
5757
- uses: actions/checkout@v4
58+
with:
59+
submodules: true
60+
- name: Collect Workflow Telemetry
61+
uses: ./.github/actions/workflow-telemetry-action
62+
with:
63+
comment_on_pr: false
5864
- run: sudo npm install -g [email protected]
5965
- run: sudo apt install plocate -y
6066
# NOTE: Change command from `find . -name "*.md"` to `find . -not -path "*/node_modules/*" -not -path "*/.tox/*" -name "*.md"`
6167
# if you want to run check locally
6268
- run: |
63-
for file in $(locate "$PWD*/*.md" | grep -v ./deploy/terraform/aws/README.md); do
69+
for file in $(locate "$PWD*/*.md" | grep -v ./deploy/terraform/aws/README.md | grep -v ./.github); do
6470
markdown-link-check -c .dlc.json -q "$file" &
6571
done
6672
wait

.github/workflows/unit-test.yml

+4
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ jobs:
6262
- uses: actions/checkout@v4
6363
with:
6464
submodules: true
65+
- name: Collect Workflow Telemetry
66+
uses: ./.github/actions/workflow-telemetry-action
67+
with:
68+
comment_on_pr: false
6569
- name: Sanity Check
6670
uses: ./.github/actions/sanity-check
6771
with:

docs/docs/en/guide/parameter/context.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ DolphinScheduler allows parameter transfer between tasks. Currently, transfer di
1414
* [SQL](../task/sql.md)
1515
* [Procedure](../task/stored-procedure.md)
1616
* [Python](../task/python.md)
17-
* [SubWorkflow](../task/sub-workflow)
17+
* [SubWorkflow](../task/sub-workflow.md)
1818
* [Kubernetes](../task/kubernetes.md)
1919

2020
When defining an upstream node, if there is a need to transmit the result of that node to a dependency related downstream node. You need to set an `OUT` direction parameter to [Custom Parameters] of the [Current Node Settings]. If it is a sub-workflow node, there is no need to set a parameter in [Current Node Settings], but an `OUT` direction parameter needs to be set in the workflow definition of the sub-workflow.

docs/docs/zh/guide/parameter/context.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ DolphinScheduler 允许在任务间进行参数传递,目前传递方向仅支
1414
* [SQL](../task/sql.md)
1515
* [Procedure](../task/stored-procedure.md)
1616
* [Python](../task/python.md)
17-
* [SubWorkflow](../task/sub-workflow)
17+
* [SubWorkflow](../task/sub-workflow.md)
1818
* [Kubernetes](../task/kubernetes.md)
1919

2020
当定义上游节点时,如果有需要将该节点的结果传递给有依赖关系的下游节点,需要在【当前节点设置】的【自定义参数】设置一个方向是 OUT 的变量。如果是 SubWorkflow 节点无需在【当前节点设置】中设置变量,需要在子流程的工作流定义中设置一个方向是 OUT 的变量。

0 commit comments

Comments
 (0)