Replace openstack.org git:// URLs with https://

This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I0b4e3ec44d4e577f6a8af4c8a94ea9ca78c3c20d
This commit is contained in:
Ian Wienand 2019-03-24 20:35:33 +00:00
parent 8cbbd4ced6
commit 3bb518d9ce
1 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ INSTALL_FROM_SOURCE=${INSTALL_FROM_SOURCE:-true}
MANAGE_REPOS=${MANAGE_REPOS:-true} MANAGE_REPOS=${MANAGE_REPOS:-true}
DELOREAN=${DELOREAN:-https://trunk.rdoproject.org/centos7-master/current-passed-ci/delorean.repo} DELOREAN=${DELOREAN:-https://trunk.rdoproject.org/centos7-master/current-passed-ci/delorean.repo}
DELOREAN_DEPS=${DELOREAN_DEPS:-https://trunk.rdoproject.org/centos7-master/delorean-deps.repo} DELOREAN_DEPS=${DELOREAN_DEPS:-https://trunk.rdoproject.org/centos7-master/delorean-deps.repo}
GIT_BASE_URL=${GIT_BASE_URL:-git://git.openstack.org} GIT_BASE_URL=${GIT_BASE_URL:-https://git.openstack.org}
ADDITIONAL_ARGS=${ADDITIONAL_ARGS:-} ADDITIONAL_ARGS=${ADDITIONAL_ARGS:-}
SELINUX_ENFORCING=${SELINUX_ENFORCING:-true} SELINUX_ENFORCING=${SELINUX_ENFORCING:-true}
# If logs should be retrieved automatically # If logs should be retrieved automatically
@ -60,7 +60,7 @@ EOF
# Periodic jobs run without ref on master # Periodic jobs run without ref on master
ZUUL_REF=${ZUUL_REF:-None} ZUUL_REF=${ZUUL_REF:-None}
ZUUL_BRANCH=${ZUUL_BRANCH:-master} ZUUL_BRANCH=${ZUUL_BRANCH:-master}
GIT_BASE_URL=${GIT_BASE_URL:-git://git.openstack.org} GIT_BASE_URL=${GIT_BASE_URL:-https://git.openstack.org}
local project_names=$(awk '{ if ($1 == ":git") print $3 }' \ local project_names=$(awk '{ if ($1 == ":git") print $3 }' \
Puppetfile0 | tr -d "'," | cut -d '/' -f 4- | xargs Puppetfile0 | tr -d "'," | cut -d '/' -f 4- | xargs
@ -69,7 +69,7 @@ EOF
--cache-dir /opt/git \ --cache-dir /opt/git \
--zuul-ref $ZUUL_REF \ --zuul-ref $ZUUL_REF \
--zuul-branch $ZUUL_BRANCH \ --zuul-branch $ZUUL_BRANCH \
git://git.openstack.org $project_names https://git.openstack.org $project_names
} }
# Install all Puppet modules with r10k # Install all Puppet modules with r10k