Make sure we don't have a stale package cache

We need to make sure ubuntu-trusty doesn't have a stale packaging
cache because diskimage-builder uses ubuntu mirrors and jenkins jobs
switch to a local AFS mirror.

Change-Id: Ide90ecab72b94f4f4f0db6fb75493bb7ef188a32
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-04-05 09:20:24 -04:00
parent c3e51a857a
commit 1a8edfece7

View File

@ -19,6 +19,10 @@ env
sudo yum remove -y python-crypto || true
# NOTE(pabelanger): We run apt-get update to ensure we don't have a stale
# package cache in the gate.
sudo apt-get update || true
sudo ./install_rally.sh --system --yes
rally deployment list
[ -d /etc/bash_completion.d ] && cat /etc/bash_completion.d/rally.bash_completion || true