summaryrefslogtreecommitdiff
path: root/yarns/400-build.yarn
diff options
context:
space:
mode:
Diffstat (limited to 'yarns/400-build.yarn')
-rw-r--r--yarns/400-build.yarn20
1 files changed, 16 insertions, 4 deletions
diff --git a/yarns/400-build.yarn b/yarns/400-build.yarn
index 08f595d..719ef05 100644
--- a/yarns/400-build.yarn
+++ b/yarns/400-build.yarn
@@ -32,6 +32,7 @@ Set up the controller.
... uapi_projects_id_pipeline_id_put
... uapi_projects_id_pipeline_id_get
... uapi_projects_id_builds_get
+ ... uapi_workers_id_get
AND a running ick controller
Add up a project.
@@ -115,14 +116,25 @@ User can now see pipeline is running and which worker is building it.
THEN result has status code 200
AND body matches
... {
- ... "status": "building",
+ ... "status": "building"
+ ... }
+
+ WHEN user makes request GET /workers/obelix
+ THEN result has status code 200
+ AND body matches
+ ... {
... "worker": "obelix",
- ... "step_number": 0,
- ... "step": {
- ... "shell": "day 1"
+ ... "doing": {
+ ... "project": "rome",
+ ... "pipeline": "construct",
+ ... "step_index": 0,
+ ... "step": {
+ ... "shell": "day 1"
+ ... }
... }
... }
+
Worker reports some build output. Note the null exit code.
WHEN worker-manager makes request POST /work