diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-12-26 21:04:26 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-12-27 17:57:03 +0200 |
commit | 4edb47ab2bfba9100db7ab97dd442abb5e12354d (patch) | |
tree | 2ec73012e779dae092a25587c811a948fdc3ba68 /yarns/400-build.yarn | |
parent | 4f2d16e8ab62f4fa229bb53afc3550ae1bc176db (diff) | |
download | ick2-4edb47ab2bfba9100db7ab97dd442abb5e12354d.tar.gz |
Add: parameters to build resources in yarns
We want the build resources to remember what the actual parameters
were, when the build ran.
Diffstat (limited to 'yarns/400-build.yarn')
-rw-r--r-- | yarns/400-build.yarn | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/yarns/400-build.yarn b/yarns/400-build.yarn index 4591459..c8746b4 100644 --- a/yarns/400-build.yarn +++ b/yarns/400-build.yarn @@ -188,6 +188,9 @@ User can now see pipeline is running and which worker is building it. ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", + ... "parameters": { + ... "foo": "bar" + ... }, ... "status": "building", ... "log": "/logs/1" ... } @@ -347,6 +350,9 @@ Also, there's a build with a log. ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", + ... "parameters": { + ... "foo": "bar" + ... }, ... "status": 0, ... "log": "/logs/1" ... } @@ -362,6 +368,9 @@ Also, there's a build with a log. ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", + ... "parameters": { + ... "foo": "bar" + ... }, ... "status": 0, ... "log": "/logs/1" ... } @@ -407,6 +416,9 @@ Start build again. This should become build number 2. ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", + ... "parameters": { + ... "foo": "bar" + ... }, ... "status": 0 ... }, ... { @@ -415,6 +427,9 @@ Start build again. This should become build number 2. ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", + ... "parameters": { + ... "foo": "bar" + ... }, ... "status": "building" ... } ... ] @@ -460,6 +475,9 @@ Start build again. This should become build number 2. ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", + ... "parameters": { + ... "foo": "bar" + ... }, ... "status": 0 ... }, ... { @@ -468,6 +486,9 @@ Start build again. This should become build number 2. ... "worker": "obelix", ... "project": "rome", ... "pipeline": "construct", + ... "parameters": { + ... "foo": "bar" + ... }, ... "status": 0 ... } ... ] |