fix: RunScriptCommand is now RunCommand
This commit is contained in:
parent
a21c403a8c
commit
be438cd0b3
3 changed files with 15 additions and 15 deletions
|
|
@ -20,7 +20,7 @@ A short, 2 step pipeline configuration can look like :
|
|||
},
|
||||
{
|
||||
"name": "run inf redis secret",
|
||||
"function": "RunScriptCommand",
|
||||
"function": "RunCommand",
|
||||
"params": ["./scripts/create_php_configmap_ctl.sh"],
|
||||
"retryCount": 0,
|
||||
"shouldAbort": true
|
||||
|
|
@ -34,7 +34,7 @@ Object task records are executed in a `[]` list and in sequence.
|
|||
|
||||
Each task has a `name` to be displayed in logs.
|
||||
|
||||
Each task calls a `Function` that is registered within `infctl` and that accepts `params` string, which are any parameters to be passed to that function, script or executable. The simplest example being `RunScriptCommand` which accepts the path to a script or executable as its `params`. This can be anything but can be as simple as :
|
||||
Each task calls a `Function` that is registered within `infctl` and that accepts `params` string, which are any parameters to be passed to that function, script or executable. The simplest example being `RunCommand` which accepts the path to a script or executable as its `params`. This can be anything but can be as simple as :
|
||||
|
||||
```bash
|
||||
echo "hello world"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue