Commit Graph

6 Commits

Author SHA1 Message Date
Colleen Murphy d5efcf00fc 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: Iab26f72276004c562a8619b82a1d9aa0144577f5
2018-07-12 09:57:43 +02:00
Colleen Murphy 0b509cf53c 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: Ifaeac1bbbf094998e6a513abe548ba90f3461d3e
2017-08-18 10:41:43 +02:00
Spencer Krum 893426a249 Use new infra_spec_helper for gem dependencies
Change-Id: Ie4aae2ea55afb49adc4a3cde9f2d0ad9ddbe8cda
2016-06-21 18:37:50 -07:00
Spencer Krum 60f006aa01 Pin google-api-client; sanitize Gemfile
Change-Id: Ie9bee551cddd24d25c3f80db388cef6ac87b497c
2016-04-14 15:17:29 -07:00
Colleen Murphy 5cf97e996a Remove puppet-lint-numericvariable gem
Variables with numbers for names are valid as regex capture groups in
puppet 4[1], so this check is not beneficial and can be
counterproductive when we do actually want to have numeric variables.

[1] https://docs.puppetlabs.com/puppet/latest/reference/lang_variables.html#naming

Change-Id: I4001e8841b7178c20cd35b9bc3ee5ef32bc9d704
2015-07-21 19:38:15 -07:00
Colleen Murphy e3955796f3 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.

Change-Id: I784007fd94df8de4348c00429ecd3ce248bfed4a
2015-07-14 20:03:07 -07:00