Closed patrzhan closed 11 months ago
Attention: 4 lines
in your changes are missing coverage. Please review.
Comparison is base (
153051a
) 98.04% compared to head (4590dd5
) 97.87%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Issue #, if available:
Description of changes: Adds the Greengrass recipe schema to GDK. This is temporary until a more permanent solution to pull the schema down from a cloud source is added.
Add recipe schema validation to the component build and component publish commands. These will compare the project recipe file against the included Greengrass recipe schema and stop the command and produce a ValidationError if the recipe does not validate against the schema.
Why is this change necessary: Validating component recipes against the schema is a planned feature and allows users of GDK to identify issues with their recipes earlier in the development process.
How was this change tested: Manually tested. Added unit/integration tests for the additions.
Any additional information or context required to review the change: Output of the build/publish commands may change depending on the cloud api implementation of schema validation. If changes need to be this output may be changed in a future PR.
Checklist:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.