Skip to content

Commit

Permalink
fix(604): Add annotations to executor stop
Browse files Browse the repository at this point in the history
  • Loading branch information
tkyi committed Jun 26, 2017
1 parent 3e7c2eb commit 3df5ebc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions plugins/executor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
2 changes: 2 additions & 0 deletions test/data/executor.stop.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
annotations:
beta.screwdriver.cd/executor: k8s
buildId: 453264

0 comments on commit 3df5ebc

Please sign in to comment.