Conversation
|
Third party dependency cookbooks have been removed in favor of berkshelf file. |
nuclearsandwich
left a comment
There was a problem hiding this comment.
I did an initial pass.
There are a few cleanup items adapting a cookbooks repo from a full chef repository. Several nitpicks. And some organization items like using different recipes rather than including recipes conditionally based on attributes.
The asserts in the rti recipe give me pause. I want to come back and do a closer review of that file.
aba05e5 to
91f2bd3
Compare
brawner
left a comment
There was a problem hiding this comment.
Thanks @nuclearsandwich for the review. I believe I've addressed your feedback. I launched another test over at ros2/ci#425
nuclearsandwich
left a comment
There was a problem hiding this comment.
Did some investigation about error handling in recipes. I think we should remove the asserts in the rti_connext recipe.
|
|
||
| assert_not_nil(connext_params['min_vs_version'], "Minimum Visual Studio version is required (e.g. '2017')") | ||
|
|
||
| assert_not_nil(connext_params['openssl_version'], "OpenSSL version is required (e.g. '1.0.2n')") |
There was a problem hiding this comment.
Okay I think what we want to do here is use the Chef logging facility to log fatal errors and then raise an error. The log resource has some examples: https://docs.chef.io/resources/log/
brawner
left a comment
There was a problem hiding this comment.
Ok, fixed the if statements and running a new ci build.
add1b63 to
5f79bae
Compare
edc8df1 to
17cf6d7
Compare
bbad0a1 to
dfb190e
Compare
dfb190e to
76e4f3d
Compare
This is the initial PR for ROS 2 cookbooks on Windows. For ease of review, the vendor cookbooks were separated out. The new content is added in this commit: c091be0