Skip to content

Commit

Permalink
#17 Support the build step's metadata annotations:
Browse files Browse the repository at this point in the history
* Add support for post step annotation ops
  • Loading branch information
noamt committed Dec 15, 2016
1 parent ca217d3 commit ca8745b
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion schema/1.0/steps/composition.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class Composition extends BaseSchema {
'composition_candidates': Joi.object().required(),
'composition_variables': Joi.array().items(Joi.string()),
};
this._applyMetadataAnnotationSchemaProperties(compositionProperties);
return this._createSchema(compositionProperties).unknown();
}

Expand Down
1 change: 0 additions & 1 deletion schema/1.0/steps/freestyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class Freestyle extends BaseSchema {
environment: Joi.array().items(Joi.string()),
entry_point: Joi.alternatives().try(Joi.string(), Joi.array().items(Joi.string()))
};
this._applyMetadataAnnotationSchemaProperties(freestyleProperties);
return this._createSchema(freestyleProperties).unknown();
}

Expand Down
1 change: 0 additions & 1 deletion schema/1.0/steps/git-clone.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class GitClone extends BaseSchema {
revision: Joi.string(),
credentials: BaseSchema._getCredentialsSchema()
};
this._applyMetadataAnnotationSchemaProperties(gitCloneProperties);
return this._createSchema(gitCloneProperties);
}

Expand Down
1 change: 0 additions & 1 deletion schema/1.0/steps/launch-composition.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class CompositionLaunch extends BaseSchema {
composition: Joi.alternatives(Joi.object(), Joi.string()).required(),
'composition_variables': Joi.array().items(Joi.string()),
};
this._applyMetadataAnnotationSchemaProperties(compositionProperties);
return this._createSchema(compositionProperties).unknown();
}

Expand Down
1 change: 0 additions & 1 deletion schema/1.0/steps/push.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ class Push extends BaseSchema {
region: Joi.string()

};
this._applyMetadataAnnotationSchemaProperties(pushProperties);
return this._createSchema(pushProperties);
}
}
Expand Down

0 comments on commit ca8745b

Please sign in to comment.