From d38cd7c3d0f19afe992027a34776b63b00366236 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Sun, 21 Apr 2019 14:44:48 +0800 Subject: [PATCH] Move to opendev Change-Id: If09bb551ac4fe334ebc9285abe99cf98ef04f1ab --- Gemfile | 2 +- manifests/bifrost.pp | 4 ++-- spec/classes/ironic_bifrost_spec.rb | 4 ++-- tox.ini | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index def52b6a..8c7a257b 100644 --- a/Gemfile +++ b/Gemfile @@ -7,7 +7,7 @@ group :development, :test, :system_tests do :require => 'false' else gem 'puppet-openstack_spec_helper', - :git => 'https://git.openstack.org/openstack/puppet-openstack_spec_helper', + :git => 'https://opendev.org/openstack/puppet-openstack_spec_helper', :require => 'false' end end diff --git a/manifests/bifrost.pp b/manifests/bifrost.pp index bf90b5dd..adb99573 100644 --- a/manifests/bifrost.pp +++ b/manifests/bifrost.pp @@ -33,7 +33,7 @@ # # [*git_source_repo*] # (optional) Git repository location for pulling Bifrost -# Defaults to 'https://git.openstack.org/openstack/bifrost' +# Defaults to 'https://opendev.org/openstack/bifrost' # # [*revision*] # (optional) The branch or commit to checkout on Bifrost repository @@ -160,7 +160,7 @@ class ironic::bifrost ( $ironic_db_password, $mysql_password, $baremetal_json_hosts, - $git_source_repo = 'https://git.openstack.org/openstack/bifrost', + $git_source_repo = 'https://opendev.org/openstack/bifrost', $ensure = present, $revision = 'master', $git_dest_repo_folder = '/opt/stack/bifrost', diff --git a/spec/classes/ironic_bifrost_spec.rb b/spec/classes/ironic_bifrost_spec.rb index 856a69a3..2f5a9c28 100644 --- a/spec/classes/ironic_bifrost_spec.rb +++ b/spec/classes/ironic_bifrost_spec.rb @@ -20,7 +20,7 @@ require 'spec_helper' describe 'ironic::bifrost' do let :default_params do { - :git_source_repo => 'https://git.openstack.org/openstack/bifrost', + :git_source_repo => 'https://opendev.org/openstack/bifrost', :revision => master, :git_dest_repo_folder => '/opt/stack/bifrost', :bifrost_config_folder => '/etc/bifrost', @@ -62,7 +62,7 @@ describe 'ironic::bifrost' do it { should contain_git('/opt/stack/bifrost').with( :ensure => 'present', :branch => 'master', - :origin => 'https://git.openstack.org/openstack/bifrost', + :origin => 'https://opendev.org/openstack/bifrost', )} it { should contain_file('/etc/bifrost').with( diff --git a/tox.ini b/tox.ini index e3eeb864..0aea3cfc 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ skipsdist = True envlist = releasenotes [testenv] -install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} +install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} {opts} {packages} [testenv:releasenotes] basepython = python3