aboutsummaryrefslogtreecommitdiff
path: root/kolla
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2018-06-05 15:34:44 +0200
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2018-06-05 15:34:44 +0200
commit0f43dfc592b5686e5e3320784e9ebf1b96b681ea (patch)
treea3d2363487573acaa9e0788dc815828381512e8c /kolla
parentb3a0fb6a504cfa0714321abebc96e27071c102e8 (diff)
downloadkolla-0f43dfc592b5686e5e3320784e9ebf1b96b681ea.tar.gz
kolla-0f43dfc592b5686e5e3320784e9ebf1b96b681ea.zip
centos: use DELOREAN repo directly on all architectures
CentOS 7.5 added 'contentdir' variable to yum package manager. We handle it already in Kolla. RDO team started using it in DELOREAN repo file so we can use it directly on all architectures. Change-Id: I59fa4d3fdbd0d0e2ed52c2725684c0033451e232
Diffstat (limited to 'kolla')
-rwxr-xr-xkolla/common/config.py13
1 files changed, 2 insertions, 11 deletions
diff --git a/kolla/common/config.py b/kolla/common/config.py
index f9116a631..b467a430d 100755
--- a/kolla/common/config.py
+++ b/kolla/common/config.py
@@ -39,15 +39,7 @@ DISTRO_RELEASE = {
# This is noarch repository so we will use it on all architectures
DELOREAN = \
"https://trunk.rdoproject.org/centos7/current-passed-ci/delorean.repo"
-
-# TODO(hrw): with move to Pike+1 we need to make sure that aarch64 repo
-# gets updated (docker/base/aarch64-cbs.repo file)
-# there is ongoing work to sort that out
-DELOREAN_DEPS = {
- 'x86_64': "https://trunk.rdoproject.org/centos7/delorean-deps.repo",
- 'aarch64': "",
- 'ppc64le': "https://trunk.rdoproject.org/centos7/delorean-deps.repo"
-}
+DELOREAN_DEPS = "https://trunk.rdoproject.org/centos7/delorean-deps.repo"
INSTALL_TYPE_CHOICES = ['binary', 'source', 'rdo', 'rhos']
@@ -270,8 +262,7 @@ _BASE_OPTS = [
cfg.StrOpt('maintainer',
default='Kolla Project (https://launchpad.net/kolla)',
help='Content of the maintainer label'),
- cfg.ListOpt('rpm_setup_config', default=[DELOREAN,
- DELOREAN_DEPS[hostarch]],
+ cfg.ListOpt('rpm_setup_config', default=[DELOREAN, DELOREAN_DEPS],
help=('Comma separated list of .rpm or .repo file(s) '
'or URL(s) to install before building containers')),
cfg.StrOpt('apt_sources_list', help=('Path to custom sources.list')),