~doanac/ubuntu-ci-services-itself/imgbuild-kernel-fixes

Viewing all changes in revision 401.

  • Committer: Andy Doan
  • Date: 2014-03-15 06:00:46 UTC
  • Revision ID: andy.doan@canonical.com-20140315060046-3slp8xuo6276a8y0
image-builder: make apt-get update logic more recoverable

I discovered an issue when building the kernel as a ticket where the
packages didn't yet seem to be in our PPA and this step failed. I
re-ran this job after I noticed and things worked fine. This adds
a delay mechanism to retry and increase the time delays each time.

I don't know the actual maximum we should wait. I'm simply guessing
for now hoping this fixes the issue.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: