From 66fe1de8368ba7e754fa6dad798bf351f3c3bf93 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 19 Jan 2018 19:16:57 +0200 Subject: Change: builds are now numbered foo/123, as are logs --- yarns/100-projects.yarn | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'yarns/100-projects.yarn') 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 -- cgit v1.2.1