summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2015-12-14 12:08:20 -0500
committerDan Radez <dradez@redhat.com>2015-12-14 22:01:21 -0500
commitc2ceba8a6e2092866a6457a3517964fd4822fb21 (patch)
tree97ee49c4c176d4bdd3ccb53382eac061bf92e602
parent592edf4aac41985d4f802f8ee607af9171c516ed (diff)
updating the repos so that master points to Mitaka
Change-Id: I7331dd91e6da3f82ba60689fffea8b2f46ff29db
-rwxr-xr-xbuild/instack.sh13
1 files changed, 8 insertions, 5 deletions
diff --git a/build/instack.sh b/build/instack.sh
index a6e459f1..dfa93943 100755
--- a/build/instack.sh
+++ b/build/instack.sh
@@ -41,16 +41,19 @@ ssh -T ${SSH_OPTIONS[@]} stack@localhost "rm -f instack*.qcow2"
# Yum repo setup for building the undercloud
if ! rpm -q rdo-release > /dev/null && [ "$1" != "-master" ]; then
- sudo yum install -y https://rdoproject.org/repos/openstack-${RDO_RELEASE}/rdo-release-${RDO_RELEASE}.rpm
- sudo rm -rf /etc/yum.repos.d/delorean.repo
- sudo rm -rf /etc/yum.repos.d/delorean-current.repo
- sudo rm -rf /etc/yum.repos.d/delorean-deps.repo
-elif [ "$1" == "-master" ]; then
+ #pulling from current-passed-ci instead of release repos
+ #sudo yum install -y https://rdoproject.org/repos/openstack-${RDO_RELEASE}/rdo-release-${RDO_RELEASE}.rpm
sudo yum -y install yum-plugin-priorities
sudo yum-config-manager --disable openstack-${RDO_RELEASE}
sudo curl -o /etc/yum.repos.d/delorean.repo http://trunk.rdoproject.org/centos7-liberty/current-passed-ci/delorean.repo
sudo curl -o /etc/yum.repos.d/delorean-deps.repo http://trunk.rdoproject.org/centos7-liberty/delorean-deps.repo
sudo rm -f /etc/yum.repos.d/delorean-current.repo
+elif [ "$1" == "-master" ]; then
+ sudo yum -y install yum-plugin-priorities
+ sudo yum-config-manager --disable openstack-${RDO_RELEASE}
+ sudo curl -o /etc/yum.repos.d/delorean.repo http://trunk.rdoproject.org/centos7/current-passed-ci/delorean.repo
+ sudo curl -o /etc/yum.repos.d/delorean-deps.repo http://trunk.rdoproject.org/centos7-liberty/delorean-deps.repo
+ sudo rm -f /etc/yum.repos.d/delorean-current.repo
fi
# install the opendaylight yum repo definition