diff options
Diffstat (limited to 'yarns/100-projects.yarn')
-rw-r--r-- | yarns/100-projects.yarn | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/yarns/100-projects.yarn b/yarns/100-projects.yarn index eed83eb..63572e7 100644 --- a/yarns/100-projects.yarn +++ b/yarns/100-projects.yarn @@ -79,7 +79,8 @@ building them. We start by starting an instance of the controller. AND body matches ... { ... "project": "website", - ... "pipelines": ["build"] + ... "pipelines": ["build"], + ... "next_build_id": null ... } AND controller state directory contains project website @@ -99,7 +100,8 @@ Creating a new project with the same name is forbidden. ... "projects": [ ... { ... "project": "website", - ... "pipelines": ["build"] + ... "pipelines": ["build"], + ... "next_build_id": null ... } ... ] ... } @@ -111,7 +113,8 @@ Creating a new project with the same name is forbidden. AND body matches ... { ... "project": "website", - ... "pipelines": ["build"] + ... "pipelines": ["build"], + ... "next_build_id": null ... } WHEN user makes request PUT /projects/website with a valid token @@ -126,7 +129,8 @@ Creating a new project with the same name is forbidden. ... { ... "project": "website", ... "parameters": {"foo": "bar"}, - ... "pipelines": ["build"] + ... "pipelines": ["build"], + ... "next_build_id": null ... } AND controller state directory contains project website @@ -136,7 +140,8 @@ Creating a new project with the same name is forbidden. ... { ... "project": "website", ... "parameters": {"foo": "bar"}, - ... "pipelines": ["build"] + ... "pipelines": ["build"], + ... "next_build_id": null ... } WHEN user makes request DELETE /projects/website |