Change git url for Tempest to opendev.org

Note:
This backports includes the follow-up commit[1] which added a release
note to describe the change.

[1] b219ee7f09

Conflicts:
	manifests/init.pp

Change-Id: Icd9ac3a5d8fab99c46e1c0bf7d2eaba7cff6c88d
(cherry picked from commit e0260afbd9)
(cherry picked from commit 25af8e4125)
This commit is contained in:
Tobias Urdin 2022-04-11 19:06:45 +00:00 committed by Takashi Kajinami
parent 0ad0704cc4
commit a21b29e36c
3 changed files with 8 additions and 3 deletions

View File

@ -17,7 +17,7 @@
# [*tempest_config_file*] # [*tempest_config_file*]
# Defaults to '/var/lib/tempest/etc/tempest.conf' # Defaults to '/var/lib/tempest/etc/tempest.conf'
# [*tempest_repo_uri*] # [*tempest_repo_uri*]
# Defaults to 'git://github.com/openstack/tempest.git' # Defaults to 'https://opendev.org/openstack/tempest'
# [*tempest_repo_revision*] # [*tempest_repo_revision*]
# Defaults to undef # Defaults to undef
# [*tempest_clone_path*] # [*tempest_clone_path*]
@ -230,7 +230,7 @@ class tempest(
# Clone config # Clone config
# #
$tempest_repo_uri = 'git://github.com/openstack/tempest.git', $tempest_repo_uri = 'https://opendev.org/openstack/tempest',
$tempest_repo_revision = undef, $tempest_repo_revision = undef,
$tempest_clone_path = '/var/lib/tempest', $tempest_clone_path = '/var/lib/tempest',
$tempest_clone_owner = 'root', $tempest_clone_owner = 'root',

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Default value of the ``tempest::tempest_repo_uri`` parameter has been
updated and now the OpenDev repository is used instead of Github.

View File

@ -184,7 +184,7 @@ describe 'tempest' do
is_expected.to contain_vcsrepo('/var/lib/tempest').with( is_expected.to contain_vcsrepo('/var/lib/tempest').with(
:ensure => 'present', :ensure => 'present',
:source => 'git://github.com/openstack/tempest.git', :source => 'https://opendev.org/openstack/tempest',
:revision => nil, :revision => nil,
:provider => 'git', :provider => 'git',
:require => 'Package[git]', :require => 'Package[git]',