From a21b29e36c25fda871d5a4cd921200a10dec20b5 Mon Sep 17 00:00:00 2001 From: Tobias Urdin Date: Mon, 11 Apr 2022 19:06:45 +0000 Subject: [PATCH] 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] b219ee7f09d4477d59ef690d23544bb4538841fd Conflicts: manifests/init.pp Change-Id: Icd9ac3a5d8fab99c46e1c0bf7d2eaba7cff6c88d (cherry picked from commit e0260afbd934bcb49691e5f6f6990f32a784eec8) (cherry picked from commit 25af8e412592c507f14d9358bd7f876709de2ebe) --- manifests/init.pp | 4 ++-- .../notes/tempest-repo-opendev-76ee1bab934194fa.yaml | 5 +++++ spec/classes/tempest_init_spec.rb | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 releasenotes/notes/tempest-repo-opendev-76ee1bab934194fa.yaml diff --git a/manifests/init.pp b/manifests/init.pp index e67334b8..0404ae58 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -17,7 +17,7 @@ # [*tempest_config_file*] # Defaults to '/var/lib/tempest/etc/tempest.conf' # [*tempest_repo_uri*] -# Defaults to 'git://github.com/openstack/tempest.git' +# Defaults to 'https://opendev.org/openstack/tempest' # [*tempest_repo_revision*] # Defaults to undef # [*tempest_clone_path*] @@ -230,7 +230,7 @@ class tempest( # Clone config # - $tempest_repo_uri = 'git://github.com/openstack/tempest.git', + $tempest_repo_uri = 'https://opendev.org/openstack/tempest', $tempest_repo_revision = undef, $tempest_clone_path = '/var/lib/tempest', $tempest_clone_owner = 'root', diff --git a/releasenotes/notes/tempest-repo-opendev-76ee1bab934194fa.yaml b/releasenotes/notes/tempest-repo-opendev-76ee1bab934194fa.yaml new file mode 100644 index 00000000..ffb07c0c --- /dev/null +++ b/releasenotes/notes/tempest-repo-opendev-76ee1bab934194fa.yaml @@ -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. diff --git a/spec/classes/tempest_init_spec.rb b/spec/classes/tempest_init_spec.rb index ad8333a7..941661d3 100644 --- a/spec/classes/tempest_init_spec.rb +++ b/spec/classes/tempest_init_spec.rb @@ -184,7 +184,7 @@ describe 'tempest' do is_expected.to contain_vcsrepo('/var/lib/tempest').with( :ensure => 'present', - :source => 'git://github.com/openstack/tempest.git', + :source => 'https://opendev.org/openstack/tempest', :revision => nil, :provider => 'git', :require => 'Package[git]',