summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-05-30 13:14:51 -0400
committerTim Rozet <trozet@redhat.com>2017-06-02 09:15:28 -0400
commit186c3362ae6cd0291e214da6f2d0714b3998f579 (patch)
treed2a578a89c4ee6f1db4015df111e760cb3a231aa
parent8d69ed9b013375ecdab2fb6ddaba3ee0c71079af (diff)
Fix rdo-release for newton
Change-Id: I96e38561c9d9e401042ba4ab7785801993d8a720 Signed-off-by: Tim Rozet <trozet@redhat.com>
-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