-
Notifications
You must be signed in to change notification settings - Fork 34
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
Role testing #8
Role testing #8
Conversation
Sounds like a plan, I’m out at the moment so I’ll get back to you on the distros that I need support for. |
So I added the following distros to the deault task:
The following I tried and they did not work:
|
@jasonroyle, What do you think about this. I would be inclined to merge this if everything looks fine. |
@aignas in my perspective is pointless making working for Alpine is not neither a full OS, i mean at that point someone will use directly docker. Also testing with in a Docker i do not think is very useful for general purpose provisioning script. Also I guess @jasonroyle was referring to test manually not in a sort of automated CI. the basic ones are just Debian and RedHat families to be validated in my opinion: [if more are required will be extra PRs.] please also note the ansible version and python requirement that now it would be pointless testing this in a OS that doesn't provide a minimum of python 2.7 as default. Actually you can consider the versioning system within the role itself (with git tags), the new version can just be not supporting anymore the older operating systems. so you can just consider to make it working for the latests oses mainly.... please keep in mind that ansible 2.4 as module to deal with rabbit mq: http://docs.ansible.com/ansible/latest/list_of_messaging_modules.html |
@aignas anyway is a very good proposal! 💯 :) |
Here is my thinking:
@Raffaello, I don't think I understood you on the following points:
|
@aignas agree on your point. yes for the python version as you wrote. versioning system is to have a role with version going forward we can have BC introduced for eg. (sorry it was late night for me yesterday.) |
Hi @Raffaello, thanks for the clarification. I agree with the versioning such that we can promise the users some backwards compatibility. Let's discuss this as a separate PR/Issue. :) |
here with molecule version
and ansible 2.4.4 i have this lint error output:
so need to be updated, also i notice this one is stil using other embedded dependency that i solve in mine PR: #5, i would like to say that one should be merged first, rebase this one on that one and than merge it after molecule test is working properly |
OK, I'll try to fix this before the merge, but I am slightly busy these days. |
Since in one of the other PRs @jasonroyle mentioned that in order to merge PRs he needs to thoroughly test everything, I thought, that this could be done easier and have tried to use https://github.com/metacloud/molecule for making the testing easier. This will allow support for multiple linux distros easier and give more confidence when making changes and supporting various configurations.
This is an initial proof of concept thing that more or less works for testing Ubuntu 16.04, but for others I'l need to add a few config parameters. @jasonroyle let me know what distros and what versions you want to support so that I can finish the config of the
molecule
framework. Most of the stuff in themolecule
directory was automatically generated by executingwhen run in the root of the repository.
After this gets merged, it would be possible to add Travis CI support afterwards.