summaryrefslogtreecommitdiff
path: root/yarns/400-build.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-11-26 14:09:49 +0100
committerLars Wirzenius <liw@liw.fi>2017-11-26 14:09:49 +0100
commit627816c54ea099e72594c98e2e835aac9e9f7b49 (patch)
tree1ab9bf0d5ae5ee5a40d7bb0944c2b2bc9bf3ef80 /yarns/400-build.yarn
parent19260512546842dd37dac97eeceb7186af0aea5d (diff)
downloadick2-627816c54ea099e72594c98e2e835aac9e9f7b49.tar.gz
Add: second project to check things don't get mixed up
Diffstat (limited to 'yarns/400-build.yarn')
-rw-r--r--yarns/400-build.yarn19
1 files changed, 19 insertions, 0 deletions
diff --git a/yarns/400-build.yarn b/yarns/400-build.yarn
index 6918459..a07eda4 100644
--- a/yarns/400-build.yarn
+++ b/yarns/400-build.yarn
@@ -58,6 +58,25 @@ Add up a project.
... }
THEN result has status code 201
+Add a second project so we know each project gets its own work steps.
+
+ WHEN user makes request POST /projects with a valid token and body
+ ... {
+ ... "project": "constantinople",
+ ... "parameters": {
+ ... "hey": "there"
+ ... },
+ ... "pipelines": [
+ ... {
+ ... "name": "construct",
+ ... "actions": [
+ ... { "shell": "fork" }
+ ... ]
+ ... }
+ ... ]
+ ... }
+ THEN result has status code 201
+
There are no builds for the project yet, and is idle.
WHEN user makes request GET /projects/rome/pipelines/construct