diff options
Diffstat (limited to 'yarns/500-build-fail.yarn')
-rw-r--r-- | yarns/500-build-fail.yarn | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/yarns/500-build-fail.yarn b/yarns/500-build-fail.yarn index 0a12178..3b29499 100644 --- a/yarns/500-build-fail.yarn +++ b/yarns/500-build-fail.yarn @@ -48,8 +48,8 @@ Add up a project and its pipelines. ... { ... "pipeline": "construct", ... "actions": [ - ... { "shell": "day 1" }, - ... { "shell": "day 2" } + ... { "shell": "day 1", "where": "host" }, + ... { "shell": "day 2", "where": "host" } ... ] ... } THEN result has status code 201 @@ -91,7 +91,8 @@ Worker wants work and gets the first step to run. ... "project": "rome", ... "parameters": {}, ... "step": { - ... "action": "create_workspace" + ... "action": "create_workspace", + ... "where": "host" ... } ... } @@ -147,9 +148,9 @@ Also, there's a build with a log. ... "worker": "obelix", ... "project": "rome", ... "actions": [ - ... { "action": "create_workspace" }, - ... { "shell": "day 1" }, - ... { "shell": "day 2" } + ... { "where": "host", "action": "create_workspace" }, + ... { "where": "host", "shell": "day 1" }, + ... { "where": "host", "shell": "day 2" } ... ], ... "current_action": null, ... "parameters": {}, @@ -168,9 +169,9 @@ Also, there's a build with a log. ... "worker": "obelix", ... "project": "rome", ... "actions": [ - ... { "action": "create_workspace" }, - ... { "shell": "day 1" }, - ... { "shell": "day 2" } + ... { "where": "host", "action": "create_workspace" }, + ... { "where": "host", "shell": "day 1" }, + ... { "where": "host", "shell": "day 2" } ... ], ... "current_action": null, ... "parameters": {}, |