Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I6725bdc2eff5a367b46075c2bf8baa8f2edbabe5
This commit is contained in:
parent
88a6de37a5
commit
b8232161c0
@ -251,7 +251,7 @@ Note: before starting the upgrade process make sure that both the undercloud
|
||||
and overcloud nodes have the repositories with upgraded packages set up
|
||||
|
||||
Clone this repository
|
||||
git clone https://git.openstack.org/openstack/tripleo-upgrade
|
||||
git clone https://opendev.org/openstack/tripleo-upgrade
|
||||
|
||||
Set ansible roles path::
|
||||
ANSIBLE_ROLES_PATH=$(pwd)
|
||||
|
@ -5,7 +5,7 @@ description-file =
|
||||
README.rst
|
||||
author = TripleO Team
|
||||
author-email = openstack-discuss@lists.openstack.org
|
||||
home-page = https://git.openstack.org/cgit/openstack/tripleo-upgrade
|
||||
home-page = https://opendev.org/openstack/tripleo-upgrade
|
||||
classifier =
|
||||
License :: OSI Approved :: Apache Software License
|
||||
Development Status :: 4 - Beta
|
||||
|
@ -7,7 +7,7 @@ function apply_patch {
|
||||
local patch_dir=$1
|
||||
local patch_id=$2
|
||||
|
||||
curl -4 https://review.openstack.org/changes/${patch_id}/revisions/current/patch?download | \
|
||||
curl -4 https://review.opendev.org/changes/${patch_id}/revisions/current/patch?download | \
|
||||
base64 -d > /tmp/patch.txt
|
||||
|
||||
if sudo patch --dry-run --reverse --force -d ${patch_dir} -p1 < /tmp/patch.txt >/dev/null 2>&1
|
||||
|
@ -7,7 +7,7 @@ function apply_patch {
|
||||
local patch_dir=$1
|
||||
local patch_id=$2
|
||||
|
||||
curl -4 https://review.openstack.org/changes/${patch_id}/revisions/current/patch?download | \
|
||||
curl -4 https://review.opendev.org/changes/${patch_id}/revisions/current/patch?download | \
|
||||
base64 -d > /tmp/patch.txt
|
||||
|
||||
if sudo patch --dry-run --reverse --force -d ${patch_dir} -p1 < /tmp/patch.txt >/dev/null 2>&1
|
||||
|
@ -10,11 +10,11 @@ function apply_patch {
|
||||
|
||||
temp_dir=$( mktemp -d )
|
||||
|
||||
curl -4 --retry 5 https://review.openstack.org/changes/${patch_id}/revisions/current/patch?download | \
|
||||
curl -4 --retry 5 https://review.opendev.org/changes/${patch_id}/revisions/current/patch?download | \
|
||||
base64 -d > ${temp_dir}/patch.txt
|
||||
|
||||
if [[ ${?} -ne 0 ]] ; then
|
||||
echo "Failed to download patch https://review.openstack.org/#/c/${patch_id}/"
|
||||
echo "Failed to download patch https://review.opendev.org/#/c/${patch_id}/"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
@ -8,7 +8,7 @@ set -euo pipefail
|
||||
|
||||
{% for workaround in item.workarounds %}
|
||||
{% if workaround.patch_id %}
|
||||
curl -4 'https://review.openstack.org/changes/{{workaround.patch_id}}/revisions/current/patch?download' | \
|
||||
curl -4 'https://review.opendev.org/changes/{{workaround.patch_id}}/revisions/current/patch?download' | \
|
||||
base64 -d | \
|
||||
sudo patch -d {{ workaround.directory }} -p1 {{ workaround.misc }}
|
||||
{% endif %} {# end of item.patch_id #}
|
||||
|
@ -10,11 +10,11 @@ function apply_patch {
|
||||
|
||||
temp_dir=$( mktemp -d )
|
||||
|
||||
curl -4 --retry 5 https://review.openstack.org/changes/${patch_id}/revisions/current/patch?download | \
|
||||
curl -4 --retry 5 https://review.opendev.org/changes/${patch_id}/revisions/current/patch?download | \
|
||||
base64 -d > ${temp_dir}/patch.txt
|
||||
|
||||
if [[ ${?} -ne 0 ]] ; then
|
||||
echo "Failed to download patch https://review.openstack.org/#/c/${patch_id}/"
|
||||
echo "Failed to download patch https://review.opendev.org/#/c/${patch_id}/"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
2
tox.ini
2
tox.ini
@ -5,7 +5,7 @@ skipdist = True
|
||||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
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://releases.openstack.org/constraints/upper/master} {opts} {packages}
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
whitelist_externals = bash
|
||||
|
Loading…
x
Reference in New Issue
Block a user