Switch trunk/cbs/buildlogs to use https

There is a permanent redirection from http to https in buildlogs, cbs
and trunk repos that might create issues when the redirection fails for
some reasons.
Let's use https directly.

Change-Id: Ic15628459ee9d2712cf752909e2337a1ecdb74f6
This commit is contained in:
Emilien Macchi 2017-03-21 08:26:50 -04:00
parent ad64dc1f2d
commit 3269c973c9
1 changed files with 3 additions and 3 deletions

View File

@ -14,11 +14,11 @@ else
# should help avoid unwanted differences between containerized and
# non-containerized trunk software sources.
REPO_PREFIX=/etc/yum.repos.d
DELOREAN_REPO_URL=http://trunk.rdoproject.org/centos7/current-tripleo/
DELOREAN_REPO_URL=https://trunk.rdoproject.org/centos7/current-tripleo/
DELOREAN_REPO_FILE=delorean.repo
# Enable the Delorean Deps repository
curl -Lvo $REPO_PREFIX/delorean-deps.repo http://trunk.rdoproject.org/centos7/delorean-deps.repo
curl -Lvo $REPO_PREFIX/delorean-deps.repo https://trunk.rdoproject.org/centos7/delorean-deps.repo
sed -i -e 's%priority=.*%priority=30%' $REPO_PREFIX/delorean-deps.repo
cat $REPO_PREFIX/delorean-deps.repo
@ -28,7 +28,7 @@ else
cat $REPO_PREFIX/delorean.repo
# Enable latest RDO Trunk Delorean repository
curl -Lvo $REPO_PREFIX/delorean-current.repo http://trunk.rdoproject.org/centos7/current/delorean.repo
curl -Lvo $REPO_PREFIX/delorean-current.repo https://trunk.rdoproject.org/centos7/current/delorean.repo
sed -i -e 's%priority=.*%priority=10%' $REPO_PREFIX/delorean-current.repo
sed -i 's/\[delorean\]/\[delorean-current\]/' $REPO_PREFIX/delorean-current.repo
/bin/bash -c "cat <<-EOF>>$REPO_PREFIX/delorean-current.repo