Use opendev.org instead of git.openstack.org
After moving to opendev.org, the following command fails when building the Trove guest image: curl -o /opt/stack/devstack/upper-constraints.txt \ 'https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=master' https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt should be used instead. Other places using git.openstack.org are also changed. Change-Id: Id357dd61e229e3336219723c1c1ae6b50e983f26
This commit is contained in:
parent
13711bd589
commit
eafd303e0a
@ -29,7 +29,7 @@
|
||||
3. Verify that the ``api-paste.ini`` file is present in ``/etc/trove``.
|
||||
|
||||
If the file is not present, you can get it from this
|
||||
`location <http://git.openstack.org/cgit/openstack/trove/plain/etc/trove/api-paste.ini>`__.
|
||||
`location <https://opendev.org/openstack/trove/raw/branch/master/etc/trove/api-paste.ini>`__.
|
||||
|
||||
4. Edit the ``trove.conf`` file so it includes appropriate values for the
|
||||
settings shown below:
|
||||
|
@ -9,7 +9,6 @@ set -o xtrace
|
||||
source $_LIB/die
|
||||
|
||||
BRANCH_OVERRIDE=${BRANCH_OVERRIDE:-default}
|
||||
ADD_BRANCH=$(basename ${BRANCH_OVERRIDE})
|
||||
REQUIREMENTS_FILE=${TROVESTACK_SCRIPTS}/files/requirements/fedora-requirements.txt
|
||||
|
||||
[ -n "$TMP_HOOKS_PATH" ] || die "Temp hook path not set"
|
||||
@ -32,13 +31,12 @@ if [ -f "${DEST}/requirements/${UC_FILE}" ]; then
|
||||
else
|
||||
UC_DIR=$(pwd)
|
||||
UC_BRANCH=${BRANCH_OVERRIDE}
|
||||
if [ "${ADD_BRANCH}" == "default" ]; then
|
||||
if [[ "${UC_BRANCH}" == "default" ]]; then
|
||||
UC_BRANCH=master
|
||||
fi
|
||||
|
||||
set +e
|
||||
curl -o "${UC_DIR}/${UC_FILE}" \
|
||||
https://git.openstack.org/cgit/openstack/requirements/plain/${UC_FILE}?h=${UC_BRANCH}
|
||||
curl -o "${UC_DIR}/${UC_FILE}" "https://opendev.org/openstack/requirements/raw/branch/${UC_BRANCH}/${UC_FILE}"
|
||||
set -e
|
||||
|
||||
if [ -f "${UC_DIR}/${UC_FILE}" ]; then
|
||||
|
@ -1,3 +1,3 @@
|
||||
# This is used for source-based builds
|
||||
guest-agent git /opt/guest-agent https://git.openstack.org/openstack/trove
|
||||
upper-constraints file /opt/upper-constraints.txt https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt
|
||||
guest-agent git /opt/guest-agent https://opendev.org/openstack/trove
|
||||
upper-constraints file /opt/upper-constraints.txt https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt
|
||||
|
@ -9,7 +9,6 @@ set -o xtrace
|
||||
source $_LIB/die
|
||||
|
||||
BRANCH_OVERRIDE=${BRANCH_OVERRIDE:-default}
|
||||
ADD_BRANCH=$(basename ${BRANCH_OVERRIDE})
|
||||
REQUIREMENTS_FILE=${TROVESTACK_SCRIPTS}/../../requirements.txt
|
||||
|
||||
[ -n "$TMP_HOOKS_PATH" ] || die "Temp hook path not set"
|
||||
@ -32,13 +31,12 @@ if [ -f "${DEST}/requirements/${UC_FILE}" ]; then
|
||||
else
|
||||
UC_DIR=$(pwd)
|
||||
UC_BRANCH=${BRANCH_OVERRIDE}
|
||||
if [ "${ADD_BRANCH}" == "default" ]; then
|
||||
if [ "${UC_BRANCH}" == "default" ]; then
|
||||
UC_BRANCH=master
|
||||
fi
|
||||
|
||||
set +e
|
||||
curl -o "${UC_DIR}/${UC_FILE}" \
|
||||
https://git.openstack.org/cgit/openstack/requirements/plain/${UC_FILE}?h=${UC_BRANCH}
|
||||
curl -o "${UC_DIR}/${UC_FILE}" "https://opendev.org/openstack/requirements/raw/branch/${UC_BRANCH}/${UC_FILE}"
|
||||
set -e
|
||||
|
||||
if [ -f "${UC_DIR}/${UC_FILE}" ]; then
|
||||
|
@ -56,7 +56,7 @@ PATH_TRIPLEO_ELEMENTS=$DEST/tripleo-image-elements
|
||||
# Save the state of TROVE_BRANCH first, since it's used in trovestack
|
||||
TROVE_BRANCH_ORIG=${TROVE_BRANCH}
|
||||
# Devstack and OpenStack git repo source paths, etc.
|
||||
GIT_BASE=${GIT_BASE:-https://git.openstack.org}
|
||||
GIT_BASE=${GIT_BASE:-https://opendev.org}
|
||||
GIT_OPENSTACK=${GIT_OPENSTACK:-${GIT_BASE}/openstack}
|
||||
DEVSTACK_REPO=${DEVSTACK_REPO:-${GIT_BASE}/openstack-dev/devstack.git}
|
||||
TROVE_REPO=${TROVE_REPO:-${GIT_OPENSTACK}/trove.git}
|
||||
|
@ -1 +1 @@
|
||||
git+https://git.openstack.org/openstack/python-troveclient#egg=python-troveclient
|
||||
git+https://opendev.org/openstack/python-troveclient#egg=python-troveclient
|
||||
|
Loading…
Reference in New Issue
Block a user