Load puppet-openstack_spec_helper locally during tests
Change-Id: I104bc8a3531e62fd1a349a82bdcc763b45e62c45 Co-Authored-By: Mohammed Naser <mnaser@vexxhost.com>
This commit is contained in:
parent
c8ef9d49ae
commit
a9d5183773
10
Gemfile
10
Gemfile
@ -1,7 +1,15 @@
|
|||||||
source ENV['GEM_SOURCE'] || "https://rubygems.org"
|
source ENV['GEM_SOURCE'] || "https://rubygems.org"
|
||||||
|
|
||||||
group :development, :test, :system_tests do
|
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
|
end
|
||||||
|
|
||||||
if facterversion = ENV['FACTER_GEM_VERSION']
|
if facterversion = ENV['FACTER_GEM_VERSION']
|
||||||
|
Loading…
Reference in New Issue
Block a user