Replace git:// with https://
git:// is not a secure protocol. It's also harder to do apache rewrite tricks and whatnot when we eventually flatten namespaces. Change occurances of git://git.openstack.org to https://git.openstack.org. Change-Id: Ic54f1b84346e37a76baa87deadbb540662889bca
This commit is contained in:
parent
c5036ea798
commit
36304438ee
@ -20,7 +20,7 @@ function install_from_source {
|
||||
repo=$1
|
||||
root=$(mktemp -d)
|
||||
$zc --cache-dir /opt/git --workspace ${root} \
|
||||
git://git.openstack.org openstack/${repo}
|
||||
https://git.openstack.org openstack/${repo}
|
||||
(cd ${root}/openstack/${repo} && $venv/bin/pip install .)
|
||||
rm -rf $root
|
||||
}
|
||||
|
@ -390,7 +390,7 @@ function install_horizon {
|
||||
# Checkout same branch of horizon as the project - including
|
||||
# same constraints.
|
||||
git clone --depth=1 --branch $GIT_BRANCH \
|
||||
git://git.openstack.org/openstack/horizon.git $HORIZON_ROOT/horizon
|
||||
https://git.openstack.org/openstack/horizon.git $HORIZON_ROOT/horizon
|
||||
(cd ${HORIZON_ROOT}/horizon && $VENV/bin/pip install -c $UPPER_CONSTRAINTS_FILE .)
|
||||
rm -rf HORIZON_ROOT
|
||||
HORIZON_ROOT=""
|
||||
|
@ -165,7 +165,7 @@ def main():
|
||||
out, err = run_command("%(zc)s "
|
||||
"--cache-dir /opt/git "
|
||||
"--workspace %(root)s "
|
||||
"git://git.openstack.org "
|
||||
"https://git.openstack.org "
|
||||
"openstack/requirements"
|
||||
% dict(zc=zc, root=reqroot))
|
||||
print(out)
|
||||
|
@ -114,7 +114,7 @@ for PROJECT in $PROJECTS; do
|
||||
#
|
||||
# TODO(fungi): switch to zuul-cloner once we add a persistent git cache
|
||||
# to proposal.slave.openstack.org
|
||||
if ! git clone git://git.openstack.org/$PROJECT.git; then
|
||||
if ! git clone https://git.openstack.org/$PROJECT.git; then
|
||||
# ALL_SUCCESS is being set to 1, which means that a failure condition
|
||||
# has been detected. The job will end in failure once it finishes
|
||||
# cycling through the remaining projects.
|
||||
|
@ -56,7 +56,7 @@ Options:
|
||||
--ref -- The git reference to check out. Defaults to HEAD.
|
||||
|
||||
--upstream -- The upstream server URL, without the git repo
|
||||
part. Defaults to git://git.openstack.org
|
||||
part. Defaults to https://git.openstack.org
|
||||
|
||||
EOF
|
||||
}
|
||||
@ -66,7 +66,7 @@ WORKSPACE="."
|
||||
CACHE_DIR="${ZUUL_CACHE_DIR:-/opt/git}"
|
||||
BRANCH="master"
|
||||
REF=""
|
||||
UPSTREAM="git://git.openstack.org"
|
||||
UPSTREAM="https://git.openstack.org"
|
||||
|
||||
OPTS=`getopt -o h --long branch:,cache-dir:,ref:,upstream:,workspace: -n $0 -- "$@"`
|
||||
if [ $? != 0 ] ; then
|
||||
|
@ -43,7 +43,7 @@ function get_devstack_from_cache {
|
||||
local REPONAME=devstack
|
||||
local REPOTYPE=git
|
||||
local REPOPATH=/opt/git/openstack-dev/devstack
|
||||
local REPOLOCATION=git://git.openstack.org/openstack-dev/devstack.git
|
||||
local REPOLOCATION=https://git.openstack.org/openstack-dev/devstack.git
|
||||
local REPOREF=master
|
||||
|
||||
local REPO_DEST=$TMP_MOUNT_PATH$REPOPATH
|
||||
|
@ -30,7 +30,7 @@ URL = ('https://git.openstack.org/cgit/openstack-infra/project-config/'
|
||||
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', 'git://git.openstack.org')
|
||||
GIT_BASE = os.environ.get('GIT_BASE', 'https://git.openstack.org')
|
||||
|
||||
CUSTOM_PROJECTS_LIST_URL = os.environ.get('DIB_CUSTOM_PROJECTS_LIST_URL')
|
||||
|
||||
|
@ -1 +1 @@
|
||||
-e git://git.openstack.org/openstack-infra/nodepool#egg=nodepool
|
||||
-e https://git.openstack.org/openstack-infra/nodepool#egg=nodepool
|
||||
|
Loading…
Reference in New Issue
Block a user