Update nodepool for OpenDev

Use new locations following OpenDev changes.

Node: This changes the on-disk repo path to /opt/git/openstack/devstack

Change-Id: I7042913fefa64dcec4044779dbeb13f86daea858
This commit is contained in:
Andreas Jaeger 2019-04-20 15:24:17 +02:00 committed by Andreas Jaeger
parent d30040c817
commit f43766da84
4 changed files with 7 additions and 7 deletions

View File

@ -42,8 +42,8 @@ function get_devstack_from_cache {
local REPONAME=devstack
local REPOTYPE=git
local REPOPATH=/opt/git/openstack-dev/devstack
local REPOLOCATION=https://git.openstack.org/openstack-dev/devstack.git
local REPOPATH=/opt/git/openstack/devstack
local REPOLOCATION=https://opendev.org/openstack/devstack.git
local REPOREF=master
local REPO_DEST=$TMP_MOUNT_PATH$REPOPATH

View File

@ -28,7 +28,7 @@ set -e
# forwarder setup is only relevant to the initial boot and some parts
# of the integration-tests before configure-unbound role is used.
#
# [1] http://git.openstack.org/cgit/opendev/base-jobs/tree/roles/configure-unbound
# [1] https://opendev.org/opendev/base-jobs/src/branch/master/roles/configure-unbound
#
NODEPOOL_STATIC_NAMESERVER_V4=${NODEPOOL_STATIC_NAMESERVER_V4:-1.1.1.1}

View File

@ -12,7 +12,7 @@ DIB_CUSTOM_PROJECTS_LIST_URL
:Default: None
:Description: Url to a yaml file contains custom list of repos.
The custom yaml file has the same structure as the default file:
'https://git.openstack.org/cgit/openstack-infra/project-config/plain/gerrit/projects.yaml'
'https://opendev.org/openstack/project-config/raw/gerrit/projects.yaml'
Download only the repos that appear in the custom file rather than
downloading all openstack repos that appear in the default file.
:Example:

View File

@ -24,13 +24,13 @@ import yaml
from six.moves.urllib.request import urlopen
from six.moves.urllib.error import URLError
URL = ('https://git.openstack.org/cgit/openstack-infra/project-config/'
'plain/gerrit/projects.yaml')
URL = ('https://opendev.org/openstack/project-config/'
'raw/gerrit/projects.yaml')
TMP_HOOKS_PATH = os.environ['TMP_HOOKS_PATH']
PROJECTS_REPOS = os.path.join(TMP_HOOKS_PATH,
'source-repository-projects-yaml')
GIT_BASE = os.environ.get('GIT_BASE', 'https://git.openstack.org')
GIT_BASE = os.environ.get('GIT_BASE', 'https://opendev.org')
CUSTOM_PROJECTS_LIST_URL = os.environ.get('DIB_CUSTOM_PROJECTS_LIST_URL')