Use deb-docker mirror for upload image too

Upload is based on build, since it builds and uploads for the
gate. This means we need to add the mirror here too, so that we're
installing docker from the deb mirror.

We convert to https at the same time for both jobs.

Change-Id: Ie1ff253e6cfc3e666a4e6be919a08f3a5d041319
This commit is contained in:
Clark Boylan 2022-03-15 16:05:47 -07:00
parent 8a0a0040e3
commit 3381b58fbd

@ -21,7 +21,7 @@
dependencies: opendev-buildset-registry
abstract: true
vars:
docker_mirror_base_url: "http://{{ zuul_site_mirror_fqdn }}/deb-docker/{{ ansible_distribution_release }}"
docker_mirror_base_url: "https://{{ zuul_site_mirror_fqdn }}/deb-docker/{{ ansible_distribution_release }}"
zuul_work_dir: "{{ zuul.projects['opendev.org/opendev/system-config'].src_dir }}"
- job:
@ -30,6 +30,7 @@
dependencies: opendev-buildset-registry
abstract: true
vars:
docker_mirror_base_url: "https://{{ zuul_site_mirror_fqdn }}/deb-docker/{{ ansible_distribution_release }}"
zuul_work_dir: "{{ zuul.projects['opendev.org/opendev/system-config'].src_dir }}"
secrets:
name: docker_credentials