Commit Graph

5 Commits

Author SHA1 Message Date
Colleen Murphy 6e586cb4ad 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: I735ee9ffaa81dafce584b7c8aeb17e48e35a48f2
2018-07-12 09:57:45 +02:00
Colleen Murphy 3c653e5307 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: Icb1243689be7587abc01b6de26da0afcb9a51a7d
2017-08-18 10:41:44 +02:00
Spencer Krum e8078d26a3 Use new infra_spec_helper for gem dependencies
Change-Id: I4b8f9bdcc1ac9f683e95ee4127c22db390a2bf7e
2016-06-21 18:39:53 -07:00
Spencer Krum f9df777a22 Pin google-api-client; sanitize Gemfile
Change-Id: Ibc5ce0956b03c638f48720adc24ecebf25b7976c
2016-04-14 15:23:04 -07:00
Colleen Murphy 1e7977e33c 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 fix lint
errors caught by the puppet-lint-empty_string-check gem and arrow
alignment errors now caught by the newer puppet-lint gem.

Change-Id: I20f0be5d20ad76ba51036089ef50675822d3b4c1
2015-08-13 16:52:15 -07:00