Replace git.openstack.org with opendev.org

This patch replaces git.openstack.org with opendev.org as redirection
from old path was enabled.
Also we change upper constraints url due to [1]

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I4f6fc9144bee0cf49326cc9df8b0f972d8bd5064
This commit is contained in:
Dmitriy Rabotyagov 2019-11-14 17:19:40 +02:00
parent c0f95b09ac
commit 72e0a52d53
3 changed files with 4 additions and 4 deletions

View File

@ -47,10 +47,10 @@ nova_pip_package_state: "latest"
nova_install_method: "source" nova_install_method: "source"
nova_venv_python_executable: "{{ openstack_venv_python_executable | default('python2') }}" nova_venv_python_executable: "{{ openstack_venv_python_executable | default('python2') }}"
nova_git_repo: https://git.openstack.org/openstack/nova nova_git_repo: https://opendev.org/openstack/nova
nova_git_install_branch: master nova_git_install_branch: master
nova_upper_constraints_url: "{{ requirements_git_url | default('https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=' ~ requirements_git_install_branch | default('master')) }}" nova_upper_constraints_url: "{{ requirements_git_url | default('https://releases.openstack.org/constraints/upper/' ~ requirements_git_install_branch | default('master')) }}"
nova_git_constraints: nova_git_constraints:
- "git+{{ nova_git_repo }}@{{ nova_git_install_branch }}#egg=nova" - "git+{{ nova_git_repo }}@{{ nova_git_install_branch }}#egg=nova"
- "--constraint {{ nova_upper_constraints_url }}" - "--constraint {{ nova_upper_constraints_url }}"

View File

@ -64,7 +64,7 @@ title = 'OpenStack-Ansible Release Notes: ' + role_name + 'role'
# The link to the browsable source code (for the left hand menu) # The link to the browsable source code (for the left hand menu)
oslosphinx_cgit_link = ( oslosphinx_cgit_link = (
'https://git.openstack.org/cgit/openstack/{}'.format(target_name) 'https://opendev.org/openstack/{}'.format(target_name)
) )
# Release notes do not need a version number in the title, they # Release notes do not need a version number in the title, they

View File

@ -7,7 +7,7 @@ envlist = docs,linters,functional
[testenv] [testenv]
usedevelop = True usedevelop = True
install_command = install_command =
pip install -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} {opts} {packages} pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
commands = commands =
/usr/bin/find . -type f -name "*.pyc" -delete /usr/bin/find . -type f -name "*.pyc" -delete
passenv = passenv =