diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-11-26 14:01:17 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-11-26 14:01:17 +0100 |
commit | 553c10959228f416b2329bfcd2d13775210ac75d (patch) | |
tree | f839ed2b6de03a42a6f20e663f6e1856c7cfdedd /yarns | |
parent | 7e0a0ddd77140550f85cfe24b67cab7ac4a91c7e (diff) | |
download | ick2-553c10959228f416b2329bfcd2d13775210ac75d.tar.gz |
Add: extend yarns to check project parameters
Diffstat (limited to 'yarns')
-rw-r--r-- | yarns/400-build.yarn | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/yarns/400-build.yarn b/yarns/400-build.yarn index 30dbc5b..6918459 100644 --- a/yarns/400-build.yarn +++ b/yarns/400-build.yarn @@ -43,6 +43,9 @@ Add up a project. WHEN user makes request POST /projects with a valid token and body ... { ... "project": "rome", + ... "parameters": { + ... "foo": "bar" + ... }, ... "pipelines": [ ... { ... "name": "construct", @@ -100,6 +103,9 @@ be in the path or can we get it in the access token?** ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", + ... "parameters": { + ... "foo": "bar" + ... }, ... "step": { ... "shell": "day 1" ... }, @@ -115,6 +121,9 @@ be in the path or can we get it in the access token?** ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", + ... "parameters": { + ... "foo": "bar" + ... }, ... "step": { ... "shell": "day 1" ... }, @@ -141,6 +150,9 @@ User can now see pipeline is running and which worker is building it. ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", + ... "parameters": { + ... "foo": "bar" + ... }, ... "step_index": 0, ... "step": { ... "shell": "day 1" @@ -196,6 +208,9 @@ Still the same job, since the first build step didnt't finish. ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", + ... "parameters": { + ... "foo": "bar" + ... }, ... "step": { ... "shell": "day 1" ... }, @@ -240,6 +255,9 @@ Now there's another step to do. ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", + ... "parameters": { + ... "foo": "bar" + ... }, ... "step": { ... "shell": "day 2" ... }, @@ -258,6 +276,9 @@ User sees changed status. ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", + ... "parameters": { + ... "foo": "bar" + ... }, ... "step_index": 1, ... "step": { ... "shell": "day 2" @@ -345,6 +366,9 @@ Start build again. This should become build number 2. ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", + ... "parameters": { + ... "foo": "bar" + ... }, ... "step": { ... "shell": "day 1" ... }, |