You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears as though that the Travis CI file on generated modules doesn't include a step to validate the JSON metadata for Puppet Tasks. There is no rake task available for Puppet Task validation, and utilizing bundle exec metadata-json-lint tasks/*.json isn't a valid alternative other than as a much-less-than-perfect check to ensure the JSON syntax itself is correct.
It would be beneficial to add a rake task that allows for validation of Puppet Tasks.
(Perhaps it is appropriate for this issue to be filed under the puppetlabs_spec_helper project instead?)
The text was updated successfully, but these errors were encountered:
We are currently working on updating the generated Travis and Appveyor configs to use PDK to test the module instead of the rake tasks, at which point the task metadata will be checked by pdk validate.
I feel PDK-709 is discussing the implementation of pdk validate in to CI configs, but this issue is a request to add support for validating tasks.
Since this was raised, we now have task validation, but it could certainly be extended in functionality.
I will be trying to determine the best way forward for PDK-709, but if there's any limitations or feature requests for the pdk validate tasks command, please feel free to raise a Feature Request discussion similar to #1064@ragnarkon.
We're trying to get back to better engagement with the community on what is wanted from the PDK via Discussions
It appears as though that the Travis CI file on generated modules doesn't include a step to validate the JSON metadata for Puppet Tasks. There is no rake task available for Puppet Task validation, and utilizing
bundle exec metadata-json-lint tasks/*.json
isn't a valid alternative other than as a much-less-than-perfect check to ensure the JSON syntax itself is correct.It would be beneficial to add a rake task that allows for validation of Puppet Tasks.
(Perhaps it is appropriate for this issue to be filed under the puppetlabs_spec_helper project instead?)
The text was updated successfully, but these errors were encountered: