Move to opendev

Change-Id: I48ae6652190077a6d79c777b4c095fad2ea71682
This commit is contained in:
ZhongShengping 2019-04-21 14:44:49 +08:00
parent 799db2fd32
commit 0955178288
4 changed files with 7 additions and 7 deletions

View File

@ -10,9 +10,9 @@ install_gems() {
# use puppet-nova 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/puppet-nova
https://opendev.org openstack/puppet-nova
else
git clone https://git.openstack.org/openstack/puppet-nova openstack/puppet-nova
git clone https://opendev.org/openstack/puppet-nova openstack/puppet-nova
fi
cd openstack/puppet-nova

View File

@ -43,10 +43,10 @@ RSpec.configure do |c|
zuul_clone_cmd = '/usr/zuul-env/bin/zuul-cloner '
zuul_clone_cmd += '--cache-dir /opt/git '
zuul_clone_cmd += "--zuul-branch #{zuul_branch} "
zuul_clone_cmd += "https://git.openstack.org #{repo}"
zuul_clone_cmd += "https://opendev.org #{repo}"
on host, zuul_clone_cmd
else
on host, "git clone https://git.openstack.org/#{repo} #{repo}"
on host, "git clone https://opendev.org/#{repo} #{repo}"
end
on host, "ZUUL_BRANCH=#{zuul_branch} PUPPET_MAJ_VERSION=#{puppet_maj_version} bash #{repo}/install_modules.sh"

View File

@ -54,10 +54,10 @@ task :spec_prep do
zuul_clone_cmd = ['/usr/zuul-env/bin/zuul-cloner']
zuul_clone_cmd += ['--cache-dir', '/opt/git']
zuul_clone_cmd += ['--zuul-branch', "#{zuul_branch}"]
zuul_clone_cmd += ['https://git.openstack.org', "#{repo}"]
zuul_clone_cmd += ['https://opendev.org', "#{repo}"]
sh(*zuul_clone_cmd)
else
sh("git clone https://git.openstack.org/#{repo} #{repo}")
sh("git clone https://opendev.org/#{repo} #{repo}")
end
# Allow to a repository to have extra modules that are not
# in puppet-openstack-integration

View File

@ -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