Use https apt mirrors for image builds

We've enabled https on our mirrors. Take advantage of this during our
image builds everywhere we set a mirror but xenial and stretch (they
don't do https out of the box).

Change-Id: I955f47392623c4af9a6f788d078f6d088a0d62cc
This commit is contained in:
Clark Boylan 2020-06-12 08:38:04 -07:00
parent 6abde078e4
commit 626dde3014
2 changed files with 11 additions and 11 deletions

View File

@ -113,7 +113,7 @@ diskimages:
- ubuntu-minimal
release: bionic
env-vars:
DIB_DISTRIBUTION_MIRROR: 'http://mirror.regionone.linaro-us.opendev.org/ubuntu-ports'
DIB_DISTRIBUTION_MIRROR: 'https://mirror.regionone.linaro-us.opendev.org/ubuntu-ports'
DIB_DEBIAN_COMPONENTS: 'main,universe'
- name: ubuntu-focal-arm64
@ -122,7 +122,7 @@ diskimages:
- ubuntu-minimal
release: focal
env-vars:
DIB_DISTRIBUTION_MIRROR: 'http://mirror.regionone.linaro-us.opendev.org/ubuntu-ports'
DIB_DISTRIBUTION_MIRROR: 'https://mirror.regionone.linaro-us.opendev.org/ubuntu-ports'
DIB_DEBIAN_COMPONENTS: 'main,universe'
- name: debian-buster-arm64
@ -131,7 +131,7 @@ diskimages:
- debian-minimal
release: buster
env-vars:
DIB_DISTRIBUTION_MIRROR: 'http://mirror.regionone.linaro-us.opendev.org/debian'
DIB_DISTRIBUTION_MIRROR: 'https://mirror.regionone.linaro-us.opendev.org/debian'
- name: debian-stretch-arm64
parent: base-debuntu

View File

@ -216,9 +216,9 @@ diskimages:
- cache-devstack
release: buster
env-vars:
DIB_DISTRIBUTION_MIRROR: 'http://mirror.dfw.rax.opendev.org/debian'
DIB_DISTRIBUTION_MIRROR: 'https://mirror.dfw.rax.opendev.org/debian'
DIB_DEBIAN_SECURITY_MIRROR:
'http://mirror.dfw.rax.opendev.org/debian-security'
'https://mirror.dfw.rax.opendev.org/debian-security'
DIB_DEBIAN_SECURITY_SUBPATH: ''
DIB_BLOCK_DEVICE_CONFIG: |
# Default single partition loopback
@ -265,7 +265,7 @@ diskimages:
release: '15.1'
python-path: /usr/bin/python3
env-vars:
DIB_DISTRIBUTION_MIRROR: 'http://mirror.dfw.rax.opendev.org/opensuse'
DIB_DISTRIBUTION_MIRROR: 'https://mirror.dfw.rax.opendev.org/opensuse'
- name: opensuse-tumbleweed
parent: base
@ -276,7 +276,7 @@ diskimages:
release: 'tumbleweed'
python-path: /usr/bin/python3
env-vars:
DIB_DISTRIBUTION_MIRROR: 'http://mirror.dfw.rax.opendev.org/opensuse'
DIB_DISTRIBUTION_MIRROR: 'https://mirror.dfw.rax.opendev.org/opensuse'
############ Ubuntu #############
@ -289,7 +289,7 @@ diskimages:
- cache-devstack
release: bionic
env-vars:
DIB_DISTRIBUTION_MIRROR: 'http://mirror.dfw.rax.opendev.org/ubuntu'
DIB_DISTRIBUTION_MIRROR: 'https://mirror.dfw.rax.opendev.org/ubuntu'
DIB_DEBIAN_COMPONENTS: 'main,universe'
- name: ubuntu-focal
@ -300,7 +300,7 @@ diskimages:
- cache-devstack
release: focal
env-vars:
DIB_DISTRIBUTION_MIRROR: 'http://mirror.dfw.rax.opendev.org/ubuntu'
DIB_DISTRIBUTION_MIRROR: 'https://mirror.dfw.rax.opendev.org/ubuntu'
DIB_DEBIAN_COMPONENTS: 'main,universe'
- name: ubuntu-xenial
@ -329,7 +329,7 @@ diskimages:
- cache-devstack
release: bionic
env-vars:
DIB_DISTRIBUTION_MIRROR: 'http://mirror.dfw.rax.opendev.org/ubuntu'
DIB_DISTRIBUTION_MIRROR: 'https://mirror.dfw.rax.opendev.org/ubuntu'
DIB_DEBIAN_COMPONENTS: 'main,universe'
- name: ubuntu-xenial-plain
@ -340,7 +340,7 @@ diskimages:
- cache-devstack
release: xenial
env-vars:
DIB_DISTRIBUTION_MIRROR: 'http://mirror.dfw.rax.opendev.org/ubuntu'
DIB_DISTRIBUTION_MIRROR: 'https://mirror.dfw.rax.opendev.org/ubuntu'
DIB_DEBIAN_COMPONENTS: 'main,universe'
- name: centos-8-plain