aboutsummaryrefslogtreecommitdiff
path: root/kolla
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-01-10 12:44:45 +0000
committerGerrit Code Review <review@openstack.org>2020-01-10 12:44:45 +0000
commit178df355c23590403c0be1fb73ea0ca41aa61305 (patch)
tree7649266b0dac5056047220ca547ae2014b227270 /kolla
parent360d335e94246d7095672c5aa92b59afa380a059 (diff)
parentb060623b907348e518bdf1afede0b641be56c415 (diff)
downloadkolla-178df355c23590403c0be1fb73ea0ca41aa61305.tar.gz
kolla-178df355c23590403c0be1fb73ea0ca41aa61305.zip
Merge "CentOS 8: Add zuul build and publish jobs"
Diffstat (limited to 'kolla')
-rwxr-xr-xkolla/image/build.py15
1 files changed, 14 insertions, 1 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py
index 5711a0f93..28318c299 100755
--- a/kolla/image/build.py
+++ b/kolla/image/build.py
@@ -142,6 +142,11 @@ UNBUILDABLE_IMAGES = {
"ovsdpdk",
},
+ # NOTE(mgoddard): Mark all images unbuildable for CentOS 8.
+ 'centos8': {
+ "base",
+ },
+
'debian': {
"bifrost-base", # tries to install 'mysql-server' which is not in
# Debian 'buster'
@@ -1042,7 +1047,15 @@ class KollaWorker(object):
filter_ += self.conf.profiles[profile]
# mark unbuildable images and their children
- tag_element = r'(%s|%s|%s)' % (self.base,
+
+ # NOTE(mgoddard): Use a base of centos8 to allow a different set of
+ # unbuildable images for CentOS 8.
+ # TODO(mgoddard): Remove this after CentOS 8 transition.
+ base = self.base
+ if base == 'centos' and self.distro_package_manager == 'dnf':
+ base = 'centos8'
+
+ tag_element = r'(%s|%s|%s)' % (base,
self.install_type,
self.base_arch)
tag_re = re.compile(r'^%s(\+%s)*$' % (tag_element, tag_element))