-
Notifications
You must be signed in to change notification settings - Fork 42
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
Continuous Integration #24
Comments
I have an account, I didn't touch travis in while though. But it should be fine. |
I don't understand. What I applied in other repositories works like this: I like combination of Molecule and Vargant however docker is faster and I didn't found any CI which could leverage vagrant in efficient way :( |
Oh, I see now. I also didn't find any way to get vagrant working with CI. |
Here is a script doing auto-versioning: https://github.com/paulfantom/ansible-restic/blob/master/.travis/generatetag.sh |
By the way, would it be possible to keep vagrant configuration so I can keep testing features locally? |
I'll look into it |
I haven't found any simple option to run 2 or more molecule drivers. Also I found that molecule now has 2 vagrant modules and one (named "vagrant") is in alpha state (link), which is strange since in molecule 1.x it was the most commonly used driver. As for testing locally, you just need to install docker CE, and some python packages and you're good to go. Just From my experience tesing in docker greatly reduces test execution time when compared to vagrant. For example in different project I have a molecule/travis 3 dimensional test matrix (2 app versions, 3 ansible versions, 5 OSes, so it adds to 30 combinations) which completes everything in about 8 minutes (could be faster, but travis has it's limits) and one molecule test completes everything in 3 minutes (link). |
Thank you for taking your time to investigate, I appreciate that. |
Have you been able to make any progress on this? :) |
Sorry, I've been occupied with other tasks and haven't got time. |
@donat-b I can start adding CI pipeline based on travis ci to run molecule tests before accepting PRs. However I need some answers first:
This would also need you to link your github account with travis (travis ci account creation) and configuring repository in travis (I can help with some screenshots).
Also since you are using molecule 2.x it will probably take me some time to set up proper CI pipeline with docker containers.
The text was updated successfully, but these errors were encountered: