Load puppet-openstack_spec_helper locally during tests

Change-Id: I85521a15476abb50a3007b241c658e3f278be142
Co-Authored-By: Mohammed Naser <mnaser@vexxhost.com>
changes/04/543304/1
ZhongShengping 5 years ago
parent 1f7a5323fe
commit bd5c1efa05

@ -1,7 +1,15 @@
source ENV['GEM_SOURCE'] || "https://rubygems.org"
group :development, :test, :system_tests do
gem 'puppet-openstack_spec_helper', :require => 'false', :git => 'https://git.openstack.org/openstack/puppet-openstack_spec_helper'
if ENV['ZUUL_PROJECT'] == 'openstack/puppet-openstack_spec_helper'
gem 'puppet-openstack_spec_helper',
:path => '../..',
:require => 'false'
else
gem 'puppet-openstack_spec_helper',
:git => 'https://git.openstack.org/openstack/puppet-openstack_spec_helper',
:require => 'false'
end
end
if facterversion = ENV['FACTER_GEM_VERSION']

Loading…
Cancel
Save