From f0eedbfbab48d3a928a3526c3c50011d3acdeac6 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sat, 20 Apr 2019 14:12:36 +0000 Subject: [PATCH] Update for opendev Change-Id: I3bb5204207ffceb31ee7296d29f08db02d330b4a --- README.md | 2 +- .../spec_helper_acceptance.rb | 2 +- run_unit_tests.sh | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6d47b50..72237a6 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,6 @@ Include this gem in your Gemfile: ``` gem 'puppet-openstack_infra_spec_helper', - :git => 'https://git.openstack.org/openstack-infra/puppet-openstack_infra_spec_helper', + :git => 'https://opendev.org/opendev/puppet-openstack_infra_spec_helper', :require => false ``` diff --git a/lib/puppet-openstack_infra_spec_helper/spec_helper_acceptance.rb b/lib/puppet-openstack_infra_spec_helper/spec_helper_acceptance.rb index abd95db..145ce92 100755 --- a/lib/puppet-openstack_infra_spec_helper/spec_helper_acceptance.rb +++ b/lib/puppet-openstack_infra_spec_helper/spec_helper_acceptance.rb @@ -1,6 +1,6 @@ require 'beaker-rspec' -SYSTEM_CONFIG='git.openstack.org/openstack-infra/system-config' +SYSTEM_CONFIG='opendev.org/opendev/system-config' def run_ansible(host) base_playbook = "#{ENV['HOME']}/src/#{SYSTEM_CONFIG}/playbooks/base.yaml" diff --git a/run_unit_tests.sh b/run_unit_tests.sh index d5ca36f..d804d74 100755 --- a/run_unit_tests.sh +++ b/run_unit_tests.sh @@ -24,18 +24,18 @@ gem build puppet-openstack_infra_spec_helper.gemspec # use puppet-openstackci to test the gem if [ -e /usr/zuul-env/bin/zuul-cloner ] ; then /usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \ - https://git.openstack.org openstack-infra/puppet-openstackci + https://opendev.org opendev/puppet-openstackci else - git clone https://git.openstack.org/openstack-infra/puppet-openstackci openstack-infra/puppet-openstackci + git clone https://opendev.org/opendev/puppet-openstackci opendev/puppet-openstackci fi -cd openstack-infra/puppet-openstackci +cd opendev/puppet-openstackci # Modify Gemfile to use local library and not the one on git # so we can actually test the current state of the gem. # Note this is largely belts and suspenders for local test runs. # puppet-openstackci already attempts to determine if it is running # under Zuul and will do the correct thing in that case. -sed -i "s/:git => 'https:\/\/git.openstack.org\/openstack-infra\/puppet-openstack_infra_spec_helper'}/:path => '..\/..'}/" Gemfile +sed -i "s/:git => 'https:\/\/opendev.org\/opendev\/puppet-openstack_infra_spec_helper'}/:path => '..\/..'}/" Gemfile # Install dependencies gem install bundler --no-rdoc --no-ri --verbose