summaryrefslogtreecommitdiff
path: root/yarns/100-projects.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-01-19 19:16:57 +0200
committerLars Wirzenius <liw@liw.fi>2018-01-19 19:16:57 +0200
commit66fe1de8368ba7e754fa6dad798bf351f3c3bf93 (patch)
treee1e410beeaa3264212f2760debfbcfeebd46c50d /yarns/100-projects.yarn
parent3bc16ac24091009e73d9c4b9c2fbda0cdca6cff5 (diff)
downloadick2-66fe1de8368ba7e754fa6dad798bf351f3c3bf93.tar.gz
Change: builds are now numbered foo/123, as are logs
Diffstat (limited to 'yarns/100-projects.yarn')
-rw-r--r--yarns/100-projects.yarn15
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