zuul-jobs/roles/configure-mirrors
Gorka Eguileor c9cad38eeb Fix CentOS wheel mirror URL
For CentOS we are currently using default values for "wheel_mirror" from
roles/configure-mirrors/defaults/main.yaml, which means that the URL
uses the full distribution version, which is wrong, we should be using
the major version instead.

As an example, centos-8 jobs are trying to use
  https://mirror.bhs1.ovh.opendev.org/wheel/centos-8.3-x86_64
When they should be using
  https://mirror.bhs1.ovh.opendev.org/wheel/centos-8-x86_64

Which makes some jobs fail to find alembic wheel files and then they
fail to build from source because the CI was expecting the wheel mirror
to have it.

This patch fixes this by creating a Centos specific "wheel_mirror"
variable.

Change-Id: I11199cf943a3070fd62bf486fe2b06381db4b04d
2021-01-19 13:02:06 +01:00
..
defaults Add option to prefer https/ssl in configure-mirrors 2020-05-20 15:16:34 -07:00
handlers yamlint: EOF newlines and comments indent 2020-05-14 08:42:17 +00:00
tasks Rename CentOS8 repo files to CentOS-Linux 2020-12-18 14:23:08 +05:30
templates Rename CentOS8 repo files to CentOS-Linux 2020-12-18 14:23:08 +05:30
vars Fix CentOS wheel mirror URL 2021-01-19 13:02:06 +01:00
README.rst Add option to prefer https/ssl in configure-mirrors 2020-05-20 15:16:34 -07:00

An ansible role to configure services to use mirrors.

Role Variables

URL to override the generated pypi mirror url based on :zuulconfigure-mirrors.pypi_fqdn.