Pin bundler for puppet rspec jobs
bundler 2.0 requires rubygems 3.0 which is not available by default on Ubuntu and not compatible with the ruby version on CentOS 7. Change-Id: Id19edd37dcdbaea058dbec60cb25d2ca7560bb46
This commit is contained in:
parent
80efcb0526
commit
656a86b25f
|
@ -42,7 +42,7 @@
|
||||||
- name: Execute acceptance tests
|
- name: Execute acceptance tests
|
||||||
shell:
|
shell:
|
||||||
cmd: |
|
cmd: |
|
||||||
gem install bundler --no-rdoc --no-ri --verbose
|
gem install bundler --no-ri --no-rdoc --verbose --version '<2.0.0'
|
||||||
$GEM_HOME/bin/bundle install --retry 3
|
$GEM_HOME/bin/bundle install --retry 3
|
||||||
export BEAKER_set={{ nodeset }}
|
export BEAKER_set={{ nodeset }}
|
||||||
export BEAKER_debug=yes
|
export BEAKER_debug=yes
|
||||||
|
|
|
@ -73,7 +73,7 @@
|
||||||
export PUPPET_GEM_VERSION='~> 3'
|
export PUPPET_GEM_VERSION='~> 3'
|
||||||
mkdir .bundled_gems
|
mkdir .bundled_gems
|
||||||
export GEM_HOME=`pwd`/.bundled_gems
|
export GEM_HOME=`pwd`/.bundled_gems
|
||||||
gem install bundler --no-rdoc --no-ri --verbose
|
gem install bundler --no-rdoc --no-ri --verbose --version '<2.0.0'
|
||||||
$GEM_HOME/bin/bundle install --retry 3
|
$GEM_HOME/bin/bundle install --retry 3
|
||||||
# FUTURE_PARSER=yes is only supported by Puppet 3.x
|
# FUTURE_PARSER=yes is only supported by Puppet 3.x
|
||||||
if [ "3" -lt "4" ]; then
|
if [ "3" -lt "4" ]; then
|
||||||
|
|
Loading…
Reference in New Issue