diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-04-23 13:27:22 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-04-23 15:21:39 +0300 |
commit | 9d4e01e2df83a108c2c44cc4471666b5cecf4c36 (patch) | |
tree | 272049de3e1e30f67aee4ce6304c92e349bccea0 /yarns/500-build-fail.yarn | |
parent | de851333b5a0c90aa8cb7fb75e188b9e391b582d (diff) | |
download | ick2-9d4e01e2df83a108c2c44cc4471666b5cecf4c36.tar.gz |
Change: all actions must have a "where"
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": {}, |