Commit Graph

5 Commits

Author SHA1 Message Date
Colleen Murphy 6ee66084c7 Update Gemfile for Zuulv3
The logic in the Gemfile was relying on Zuulv2 variables to find out
whether the spec helper gem was already available on disk, and since
Zuulv3 has changed things it was failing to find it and downloading the
master version instead. This patch ensures the Gemfile looks for the gem
in the right place when running in CI.

Change-Id: I0639bc4bb87db53e46bd58e255aa8c21275792cd
2018-07-12 09:57:46 +02:00
Colleen Murphy 1b625245d6 Depend on helper gem for spec_helper_acceptance
Instead of keeping a local copy of spec_helper_acceptance.rb and
requiring updates to all modules for any change, we can move it into the
common helper gem and require it from there. This will make it easier to
create and review changes that affect all puppet modules. Also change
the Gemfile to look for the gem in the local workspace if running in a
zuul environment.

Change-Id: I11adccf36f9aef32a46de7179d48f6ef296771e2
2017-08-18 10:41:45 +02:00
Spencer Krum 8c19d2483e Use new infra_spec_helper for gem dependencies
Change-Id: I32d45b7b5894d7747fbcaa3f6aa494fdd39fa094
2016-06-21 18:40:45 -07:00
Spencer Krum 3d2a9a5180 Pin google-api-client; sanitize Gemfile
Change-Id: I9b63b70d0445e253637f737d65a7595cc6ee549b
2016-04-14 15:25:31 -07:00
Colleen Murphy 92f01d0474 Add Gemfile and puppet 4 checks
In anticipation of puppet 4, start trying to deal with puppet 4 things
that can be helpfully predicted by puppet lint plugins. Also update the
Rakefile to match the other modules, which have puppetlabs_spec_helper
and puppet-lint rake tasks included in them.

Change-Id: I715328da58e27014b2de9edd53cb3f70fd2420e3
2015-08-14 11:46:56 -07:00