aboutsummaryrefslogtreecommitdiff
path: root/kolla
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2021-01-28 10:06:00 +0100
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2021-03-10 11:15:18 +0100
commitbe544f4e66a6d0dbaa0c26e4565ccfe6a2548838 (patch)
treebc91df80513ec75fbd94b27d76448552d9968dcb /kolla
parent92da935331b4ca9ca29f392455a71afd0ee7f198 (diff)
downloadkolla-be544f4e66a6d0dbaa0c26e4565ccfe6a2548838.tar.gz
kolla-be544f4e66a6d0dbaa0c26e4565ccfe6a2548838.zip
switch to CentOS 8 Stream
We use official CentOS 8 Stream image as a base. So far Stream does not have own SIG repos RDO Wallaby packages will be built against Stream Kolla CI jobs are renamed to centos8s. Kolla-Ansible ones will follow in later patch. Change-Id: Ibb23c9d0caf115fcbba7bd322ecebe8d80b6821a
Diffstat (limited to 'kolla')
-rwxr-xr-xkolla/common/config.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/kolla/common/config.py b/kolla/common/config.py
index a54520ba6..9092b0b77 100755
--- a/kolla/common/config.py
+++ b/kolla/common/config.py
@@ -22,10 +22,10 @@ from kolla.version import version_info as version
BASE_OS_DISTRO = ['centos', 'rhel', 'ubuntu', 'debian']
BASE_ARCH = ['x86_64', 'ppc64le', 'aarch64']
DEFAULT_BASE_TAGS = {
- 'centos': '8',
- 'rhel': '8',
- 'debian': '10',
- 'ubuntu': '20.04',
+ 'centos': {'name': 'quay.io/centos/centos', 'tag': 'stream8'},
+ 'rhel': {'name': 'registry.access.redhat.com/ubi8', 'tag': 'latest'},
+ 'debian': {'name': 'debian', 'tag': '10'},
+ 'ubuntu': {'name': 'ubuntu', 'tag': '20.04'},
}
DISTRO_RELEASE = {
'centos': '8',
@@ -1119,10 +1119,10 @@ def parse(conf, args, usage=None, prog=None,
# NOTE(jeffrey4l): set the default base tag based on the
# base option
- conf.set_default('base_tag', DEFAULT_BASE_TAGS.get(conf.base))
+ conf.set_default('base_tag', DEFAULT_BASE_TAGS[conf.base]['tag'])
prefix = '' if conf.openstack_release == 'master' else 'stable-'
openstack_branch = '{}{}'.format(prefix, conf.openstack_release)
conf.set_default('openstack_branch', openstack_branch)
if not conf.base_image:
- conf.base_image = conf.base
+ conf.base_image = DEFAULT_BASE_TAGS[conf.base]['name']