Skip to content

Commit

Permalink
Merge pull request #150 from screwdriver-cd/executor_stop
Browse files Browse the repository at this point in the history
fix(604): Add annotations to executor stop
  • Loading branch information
minzcmu authored Jun 26, 2017
2 parents 3e7c2eb + 3df5ebc commit a861c2c
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 a861c2c

Please sign in to comment.