It is possible some CI system are using an http_proxy. Use the helper
function to cover this use case.
Change-Id: Iee685147ca0244fc7de328a765f937602223de20
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
| ... | ... |
@@ -91,7 +91,9 @@ if [[ "$DISTRO" = "xenial" ]]; then |
| 91 | 91 |
# Otherwise use upstream UCA |
| 92 | 92 |
sudo add-apt-repository -y cloud-archive:ocata |
| 93 | 93 |
fi |
| 94 |
- sudo apt-get update |
|
| 94 |
+ # Force update our APT repos, since we added UCA above. |
|
| 95 |
+ REPOS_UPDATED=False |
|
| 96 |
+ apt_get_update |
|
| 95 | 97 |
fi |
| 96 | 98 |
|
| 97 | 99 |
|