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:
parent
c0f95b09ac
commit
72e0a52d53
@ -47,10 +47,10 @@ nova_pip_package_state: "latest"
|
||||
nova_install_method: "source"
|
||||
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_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:
|
||||
- "git+{{ nova_git_repo }}@{{ nova_git_install_branch }}#egg=nova"
|
||||
- "--constraint {{ nova_upper_constraints_url }}"
|
||||
|
@ -64,7 +64,7 @@ title = 'OpenStack-Ansible Release Notes: ' + role_name + 'role'
|
||||
|
||||
# The link to the browsable source code (for the left hand menu)
|
||||
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
|
||||
|
2
tox.ini
2
tox.ini
@ -7,7 +7,7 @@ envlist = docs,linters,functional
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
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 =
|
||||
/usr/bin/find . -type f -name "*.pyc" -delete
|
||||
passenv =
|
||||
|
Loading…
Reference in New Issue
Block a user