From 3df5ebcca7a1b5b7ef694432602d1ec6ceef61f7 Mon Sep 17 00:00:00 2001 From: Tiffany Kyi Date: Mon, 26 Jun 2017 14:42:37 -0700 Subject: [PATCH] fix(604): Add annotations to executor stop --- plugins/executor.js | 1 + test/data/executor.stop.yaml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/plugins/executor.js b/plugins/executor.js index 5e7d6466..bf84a26c 100644 --- a/plugins/executor.js +++ b/plugins/executor.js @@ -14,6 +14,7 @@ const SCHEMA_START = Joi.object().keys({ .label('Build JWT') }).required(); const SCHEMA_STOP = Joi.object().keys({ + annotations: Annotations.annotations, buildId }).required(); const SCHEMA_STATUS = Joi.object().keys({ diff --git a/test/data/executor.stop.yaml b/test/data/executor.stop.yaml index 65562922..0bf08edc 100644 --- a/test/data/executor.stop.yaml +++ b/test/data/executor.stop.yaml @@ -1 +1,3 @@ +annotations: + beta.screwdriver.cd/executor: k8s buildId: 453264