From 627816c54ea099e72594c98e2e835aac9e9f7b49 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 26 Nov 2017 14:09:49 +0100 Subject: Add: second project to check things don't get mixed up --- yarns/400-build.yarn | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'yarns/400-build.yarn') 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 -- cgit v1.2.1