-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for 5.x and some refactoring. #19
base: master
Are you sure you want to change the base?
Conversation
* Added and tested new NodeJS version * Added a more extensible way of catering for the original 0.10, 0.12, along with support for 4.x and 5.x repo paths
c12c658
to
44bc4e7
Compare
Looking for feedback on this from @Yanchek99 or @tphummel. Does this look like a suitable way to deal with 0.10/0.12/4.x/5.x and more in the future? Cheers |
# 0.10 or 0.12 or 4.x | ||
nodejs_version: "4.2" | ||
# 0.10 or 0.12 or 4.x or 5.x | ||
nodejs_version: "5.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perhaps set this to 5.x
for consistency?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea here is you can currently install a specific release, and it is then translated to the 5.x or 4.x required to build the repo path.
We could just get people to enter 0.10, 0.12 or 4.x or 5.x ect.
Actually seems like a better move.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scratch that, we require 5.x for the repo name, and a numeric value 5.0 for the apt task install.
Would be nice to refactor the tests to check each major version. 0.10, 0.12, 4.x, and 5.x |
@Yanchek99 I have had a look at testing ansible before and it is a bit of a mixed bag. I will remove the debug statement and have a look around at some way to at least asset the intended version is installed in the playbook used for testing. Cheers. |
44bc4e7
to
c60b5d5
Compare
No description provided.