Use AFS mirrors to build ubuntu-bionic DIB
Like we do with ubuntu-trusty / ubuntu-xenial, pin our DIB builds for ubuntu-bionic to our AFS mirrors. This will prevent issues with bionic installing newer packages when we have mirroring issues with reprepro. Change-Id: I036f90d25dfc6c244e1bd010a9f2db7e295a439f Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
2fac607fd4
commit
26ec98b7dc
|
@ -22,8 +22,9 @@ set -eu
|
|||
set -o pipefail
|
||||
|
||||
# NOTE(pabelanger): Because our AFS mirrors are not signed, we need to allow
|
||||
# unauthenticated packages.
|
||||
# unauthenticated packages and insecure repos.
|
||||
if [ -d "$TARGET_ROOT/etc/apt/apt.conf.d" ]; then
|
||||
echo "APT::Get::AllowUnauthenticated \"true\";" | sudo tee $TARGET_ROOT/etc/apt/apt.conf.d/95allow-unauthenticated
|
||||
echo "Acquire::AllowInsecureRepositories \"true\";" | sudo tee -a $TARGET_ROOT/etc/apt/apt.conf.d/95allow-unauthenticated
|
||||
fi
|
||||
|
||||
|
|
|
@ -252,7 +252,8 @@ diskimages:
|
|||
DIB_APT_LOCAL_CACHE: '0'
|
||||
DIB_DISABLE_APT_CLEANUP: '1'
|
||||
DIB_GRUB_TIMEOUT: '0'
|
||||
# TODO(pabelanger): Add AFS mirrors once bionic-updates is created.
|
||||
DIB_DISTRIBUTION_MIRROR: 'http://mirror.dfw.rax.openstack.org/ubuntu'
|
||||
DIB_DEBOOTSTRAP_EXTRA_ARGS: '--no-check-gpg'
|
||||
DIB_DEBIAN_COMPONENTS: 'main,universe'
|
||||
- name: ubuntu-trusty
|
||||
pause: false
|
||||
|
|
Loading…
Reference in New Issue