voxpupuli / onceover

Your gateway drug to automated infrastructure testing with Puppet
Apache License 2.0
142 stars 45 forks source link

Onceover tries to use bundle if a Gemfile is present in Control-repo. #270

Open 16c7x opened 4 years ago

16c7x commented 4 years ago

If a Gemfile is present in the root of a Control-repo and the --parallel flag is used, onceover will try to use Bundle to install the parallel gem even if Bundle is not installed.

Steps to reproduce: docker pull puppet/puppet-dev-tools docker run -it puppet/puppet-dev-tools /bin/bash Clone in a control repo Ensure a Gemfile is present in the root of the control repo run onceover run spec --force --trace --parallel You should see an error saying Bundle is not available. Then remove the Gemfile run onceover run spec --force --trace --parallel Onceover will ignore the --parallel and continue to run the jobs in series.