Skip to content

Commit

Permalink
added to doc and plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Peeeekay committed Jun 20, 2023
1 parent 2693c4f commit 90e8159
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
6 changes: 6 additions & 0 deletions cli/cli/commands/lsp/resource/kurtosis_starlark.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,12 @@
"type": "list<string>",
"content": "store?",
"detail": "List of paths to directories or files that will be copied to a file artifact"
},
{
"name": "wait",
"type": "string",
"content": "wait?",
"detail": "The time to allow for the command to complete. If the command takes longer than this, the instruction will fail. In order to disable it, set wait=None. The default value is - 180s"
}
]
},
Expand Down
10 changes: 9 additions & 1 deletion docs/docs/starlark-reference/plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,15 @@ The `run_sh` instruction executes a one-time execution task. It runs the bash co
"/src",
],


# The time to allow for the command to complete. If the command takes longer than this,
# Kurtosis will kill the command and mark it as failed.
# You may specify a custom wait timeout duration or disable the feature entirely.
# You may specify a custom wait timeout duration with a string:
# wait = "2m"
# Or, you can disable this feature by setting the value to None:
# wait = None
# The feature is enabled by default with a default timeout of 180s
# OPTIONAL (Default: "180s")
wait="180s"
)

Expand Down

0 comments on commit 90e8159

Please sign in to comment.