Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Dec 17, 2024
1 parent ae91ea9 commit c67d4c3
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ steps:

### `steps[*].loop:` `steps.<key>.loop:`

Loop settings for steps.
Loop setting for step.

#### Simple loop step

Expand Down Expand Up @@ -711,6 +711,28 @@ steps:
[...]
```

### `steps[*].defer:` `steps.<key>.defer:`

Deferring setting for step.

```yaml
steps:
-
defer: true
req:
/cart/in:
post:
body:
[...]
```

The step marked defer behaves as follows.

- If `defer: true` is set, run of the step is deferred until finish of the runbook.
- Steps marked with `defer` are always run even if the running of intermediate steps fails.
- If there are multiple steps marked with `defer`, they are run in LIFO order.
- Also, the included steps are added to run sequence of the parent runbook's deferred steps.

## Variables to be stored

runn can use variables and functions when running step.
Expand Down

0 comments on commit c67d4c3

Please sign in to comment.