summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2017-06-05 14:45:39 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-06-05 14:45:39 +0000
commit652d97b4808ae3cd31a7440d59bc50cb0a157143 (patch)
tree9a66b5ad7303304de1c2766a9af06ce19b1ffff5 /ci
parentc454fcae3b18b4a31b57cd4d843844241a9c6cdf (diff)
parent186c3362ae6cd0291e214da6f2d0714b3998f579 (diff)
Merge "Fix rdo-release for newton" into stable/danube
Diffstat (limited to 'ci')
-rwxr-xr-xci/dev_dep_check.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/ci/dev_dep_check.sh b/ci/dev_dep_check.sh
index 6d0aa11f..86e6fd91 100755
--- a/ci/dev_dep_check.sh
+++ b/ci/dev_dep_check.sh
@@ -12,16 +12,14 @@
set -e
-rdo_action="update"
-
# check for rdo-release
if ! rpm -q rdo-release > /dev/null; then
- rdo_action="install"
+ sudo yum remove rdo-release
fi
# make sure rdo release
-if ! sudo yum $rdo_action -y https://www.rdoproject.org/repos/rdo-release.rpm; then
- echo "Failed to $rdo_action RDO Release package..."
+if ! sudo yum install -y https://repos.fedorapeople.org/repos/openstack/openstack-newton/rdo-release-newton-5.noarch.rpm; then
+ echo "Failed to install RDO Release package..."
exit 1
fi