Commit Graph

5 Commits

Author SHA1 Message Date
Colleen Murphy 3ebe44d16f 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: Iaf82b5b89b4b01b811189f7a4c451ddfca8a80ad
2018-07-12 09:57:45 +02:00
Colleen Murphy 231ce9335b 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: I2fd13c3aa1b5bb6775c1963f769e6be7e0b8dafb
2017-08-18 10:41:44 +02:00
Spencer Krum db5cb799fb Use new infra_spec_helper for gem dependencies
Change-Id: Ic496ec4db39e860a5c6d28cb4581de7b3df3b549
2016-06-21 18:39:47 -07:00
Spencer Krum ba75ce5182 Pin google-api-client; sanitize Gemfile
Change-Id: I2aa681163e7d4e32033b21b01bd91839c0927096
2016-04-14 15:22:48 -07:00
Colleen Murphy 81d0f9d161 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.

This patch also corrects lint errors caught by the
puppet-lint-empty_string-check plugin by changing the default value of
the $base parameter to be undef instead of empty string, which will be
evaluated the same when interpolated in a string, and by making the
$url parameter required.

Change-Id: Ic1146cbd44b589c5dfca10deb410301ef4d46528
2015-08-13 16:26:34 -07:00