Browse Source

Use opendev repository

Change-Id: I52778356e8172d97eafbbb276a49457117c7b16d
changes/25/654825/1
Le Hou 3 years ago
parent
commit
184b3598a4
  1. 8
      README.rst
  2. 4
      tools/tox_install.sh
  3. 2
      tox.ini

8
README.rst

@ -19,10 +19,10 @@ Other Resources
* Source code:
* `Blazar <https://git.openstack.org/cgit/openstack/blazar>`__
* `Nova scheduler filter <https://git.openstack.org/cgit/openstack/blazar-nova>`__
* `Client tools <https://git.openstack.org/cgit/openstack/python-blazarclient>`__
* `Dashboard (Horizon plugin) <https://git.openstack.org/cgit/openstack/blazar-dashboard>`__
* `Blazar <https://opendev.org/openstack/blazar>`__
* `Nova scheduler filter <https://opendev.org/openstack/blazar-nova>`__
* `Client tools <https://opendev.org/openstack/python-blazarclient>`__
* `Dashboard (Horizon plugin) <https://opendev.org/openstack/blazar-dashboard>`__
* Blueprints/Bugs: https://launchpad.net/blazar
* Documentation: https://docs.openstack.org/blazar/latest/

4
tools/tox_install.sh

@ -51,7 +51,7 @@ elif [ -x "$ZUUL_CLONER" ]; then
$ZUUL_CLONER --cache-dir \
/opt/git \
--branch $BRANCH_NAME \
https://git.openstack.org \
https://opendev.org \
openstack/nova
cd openstack/nova
$install_cmd -e .
@ -59,7 +59,7 @@ elif [ -x "$ZUUL_CLONER" ]; then
else
echo "PIP HARDCODE" > /tmp/tox_install.txt
if [ -z "$NOVA_PIP_LOCATION" ]; then
NOVA_PIP_LOCATION="git+https://git.openstack.org/openstack/nova@$BRANCH_NAME#egg=nova"
NOVA_PIP_LOCATION="git+https://opendev.org/openstack/nova@$BRANCH_NAME#egg=nova"
fi
$install_cmd -U -e ${NOVA_PIP_LOCATION}
fi

2
tox.ini

@ -5,7 +5,7 @@ skipsdist = True
[testenv]
usedevelop = True
install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} {opts} {packages}
deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
setenv = VIRTUAL_ENV={envdir}

Loading…
Cancel
Save