summaryrefslogtreecommitdiff
path: root/yarns
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-12-26 21:04:26 +0200
committerLars Wirzenius <liw@liw.fi>2017-12-27 17:57:03 +0200
commit4edb47ab2bfba9100db7ab97dd442abb5e12354d (patch)
tree2ec73012e779dae092a25587c811a948fdc3ba68 /yarns
parent4f2d16e8ab62f4fa229bb53afc3550ae1bc176db (diff)
downloadick2-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')
-rw-r--r--yarns/400-build.yarn21
-rw-r--r--yarns/500-build-fail.yarn2
2 files changed, 23 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
... }
... ]
diff --git a/yarns/500-build-fail.yarn b/yarns/500-build-fail.yarn
index bd6f22b..bc0a5ab 100644
--- a/yarns/500-build-fail.yarn
+++ b/yarns/500-build-fail.yarn
@@ -147,6 +147,7 @@ Also, there's a build with a log.
... "worker": "obelix",
... "project": "rome",
... "pipeline": "construct",
+ ... "parameters": {},
... "status": 1,
... "log": "/logs/1"
... }
@@ -162,6 +163,7 @@ Also, there's a build with a log.
... "worker": "obelix",
... "project": "rome",
... "pipeline": "construct",
+ ... "parameters": {},
... "status": 1,
... "log": "/logs/1"
... }