Commit Graph

5 Commits

Author SHA1 Message Date
Colleen Murphy 9b032cffba 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: I520315aefd2983ed95ee9236ddb26b1280aa66b1
2018-07-10 16:56:13 +02:00
Colleen Murphy 2261796c78 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: I6df94c6dbb8b4198765375619aaf828339a6b6a0
2017-08-18 10:41:43 +02:00
Spencer Krum 730b85138a Use new infra_spec_helper for gem dependencies
Change-Id: Idd58921e0575bb61b8cc2f254283842b29fc9ba0
2016-06-21 18:38:03 -07:00
Spencer Krum 822dad5c5c Pin google-api-client; sanitize Gemfile
Change-Id: Ib95b0138725f2ecc940fbd35b3683c789057113b
2016-04-14 15:18:19 -07:00
Colleen Murphy f1b7e20f52 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-absolute_classname-check
and puppet-lint-empty_string-check gems as well as arrow alignment
which wasn't being caught under the system version of puppet-lint.

Change-Id: I5552777ba63d07039f9b2bed9c4100a44e6a0255
2015-07-21 18:49:54 -07:00