-
Notifications
You must be signed in to change notification settings - Fork 659
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 switch for molecule role init #962
Comments
I don't use circle CI so don't really have much of a reason to implement this. If there is someone in the community that uses circle CI and can provide a generic file as a template, they are free to provide a PR to do so. However, not something I have the bandwidth to take on. |
am curious to know if molecule directly support jenkins ? or do need write custom wrapper script ? |
What do you mean with support Jenkins? You can run molecule with a Jenkins Job. |
@dj-wasabi - thanks , i didnt know that its able to run from jenkins. is it like running molecule as script or command in jenkins build stage ? |
I use jenkins-pipelines, so I can only show you my
I seperate the actions into their own stages, so I can easily see when a stage goes into error and if a stage is running slower/faster. |
Thanks alot @dj-wasabi |
Feel free to open a PR to add documentation around this. |
Issue Type
Molecule and Ansible details
Desired Behaviour
molecule init role -r myrole --ci travis
generating a.travis.yml
,molecule init role -r myrole --ci circle
generating the.circleci/
folder, etc.Creating a new ansible role to be tested with molecule + travis, I though that I always end up c/c the same .travis.yml from my other roles, here is an example. I also imagin people using CircleCI or other continuous integration. Maybe that'ld be a nice thing for molecule to optionaly generate a working config for CI via that switch.
The text was updated successfully, but these errors were encountered: