summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yarns/400-build.yarn10
1 files changed, 6 insertions, 4 deletions
diff --git a/yarns/400-build.yarn b/yarns/400-build.yarn
index d8194f6..08f595d 100644
--- a/yarns/400-build.yarn
+++ b/yarns/400-build.yarn
@@ -93,7 +93,8 @@ be in the path or can we get it in the access token?**
... "pipeline": "construct",
... "step": {
... "shell": "day 1"
- ... }
+ ... },
+ ... "step_index": 0
... }
WHEN worker-manager makes request GET /work/obelix
@@ -104,7 +105,8 @@ be in the path or can we get it in the access token?**
... "pipeline": "construct",
... "step": {
... "shell": "day 1"
- ... }
+ ... },
+ ... "step_index": 0
... }
User can now see pipeline is running and which worker is building it.
@@ -113,9 +115,9 @@ User can now see pipeline is running and which worker is building it.
THEN result has status code 200
AND body matches
... {
- ... "status": "running",
+ ... "status": "building",
... "worker": "obelix",
- ... "step_number": 1,
+ ... "step_number": 0,
... "step": {
... "shell": "day 1"
... }