You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+50-1
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ steps:
71
71
72
72
This workflow will run `kubectl apply -f manifest.yml` first. If it returns with exist status 0 (it ran successfully), will then run `kubectl wait --for=condition=complete job/myjob` until it returns with exist status 0 and considers the step successful.
73
73
74
-
Trackman can continue running if a step fails if the step has a `continue_on_failure: true`.
74
+
Trackman can continue running if a step fails if the step has a `continue_on_fail: true`.
75
75
76
76
### Timeouts
77
77
@@ -141,8 +141,45 @@ steps:
141
141
message: "Oh nose!"
142
142
```
143
143
144
+
## Workflow Attributes
145
+
146
+
The following attributes can be set for the workflow:
147
+
| Attribute | Description | Default |
148
+
|---|---|---|
149
+
| version | Workflow format version | `1` |
150
+
| version | Any metadata for the workflow | None |
151
+
| steps | List of all workflow steps (See below) | [] |
152
+
153
+
## Step Attributes
154
+
155
+
The following attributes can be set for each step:
156
+
157
+
| Attribute | Description | Default |
158
+
|---|---|---|
159
+
| metadata | Any metadata for the step | None |
160
+
| name | Given name for the step | `''` |
161
+
| command | Command to run, including arguments | `''` |
162
+
| continue_on_fail | Continue to the next step even after failure | `false` |
163
+
| timeout | Timeout after which the step will be stopped. A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". | Never |
164
+
| workdir | Work directory for the step | None |
165
+
| probe | Health probe definition. See above | None |
166
+
| depends_on | List of the steps this one depends on (should run after all of them have successfully finished) | [] |
167
+
| preflights | List of pre-flight checks (see above) | None |
168
+
| ask_to_proceed | Stops the execution of the workflow and asks the user for a confirmation to continue | `false` |
169
+
| show_command | Shows the command and arguments for this step before running it | `false` |
Runs the given workflow. Use `--help` for more details.
@@ -151,6 +188,18 @@ Runs the given workflow. Use `--help` for more details.
151
188
$ trackman run -f file.yml
152
189
```
153
190
191
+
### Params
192
+
193
+
Run command supports the following options
194
+
195
+
| Option | Description | Default |
196
+
|---|---|---|
197
+
| file, f | Workflow file | None |
198
+
| timeout | Timeout after which the step will be stopped. A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". | 10 seconds |
199
+
| concurrency | Number of concurrent steps to run | Number of CPUs - 1 |
200
+
| yes, y | Answer Yes to all `ask_to_proceed` questions | false |
201
+
202
+
154
203
### Update
155
204
156
205
Manually checks for updates. It can also switch the current release channel.
0 commit comments