From 1864cdb3fe699d04a55eb4fd1d53d5e9c055b087 Mon Sep 17 00:00:00 2001 From: Yoshiki Fujikane <40124947+ffjlabo@users.noreply.github.com> Date: Wed, 27 Dec 2023 15:51:29 +0900 Subject: [PATCH] Add docs for options of SCRIPT_RUN (#4738) Signed-off-by: Yoshiki Fujikane --- .../en/docs-dev/user-guide/configuration-reference.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/content/en/docs-dev/user-guide/configuration-reference.md b/docs/content/en/docs-dev/user-guide/configuration-reference.md index e971f00336..631f6d434b 100644 --- a/docs/content/en/docs-dev/user-guide/configuration-reference.md +++ b/docs/content/en/docs-dev/user-guide/configuration-reference.md @@ -654,6 +654,13 @@ Note: By default, the sum of traffic is rounded to 100. If both `primary` and `c | envs | map[string]string | Environment variables used with scripts. | No | | run | string | Script run on this stage. | Yes | +### ScriptRunStageOptions +| Field | Type | Description | Required | +|-|-|-|-| +| run | string | Script run on this stage. | Yes | +| env | map[string]string | Environment variables used with scripts. | No | +| timeout | duration | The maximum time the stage can be taken to run. Default is `6h`| No | + ## PostSync | Field | Type | Description | Required |