Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

wolfeidau
Copy link
Contributor

No description provided.

* 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
@wolfeidau wolfeidau force-pushed the add_support_for_nodejs_5.x branch 2 times, most recently from c12c658 to 44bc4e7 Compare November 3, 2015 02:09
@wolfeidau
Copy link
Contributor Author

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"
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

@Yanchek99
Copy link
Contributor

Would be nice to refactor the tests to check each major version. 0.10, 0.12, 4.x, and 5.x

@wolfeidau
Copy link
Contributor Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants