From 8294bac01bf3641452a6a39bbc4f58388838be84 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Mon, 16 Mar 2020 15:00:35 +0000 Subject: CentOS 8: Switch default base image, tag as master Changes the default base tag and distro for CentOS images from 7 to 8. Also changes the tag used by the publisher jobs for CentOS 8 images from 'master-centos8' to 'master'. Change-Id: I5498141ade23219d63f34debc2b8e1330dec2e68 Partially-Implements: blueprint centos-rhel-8 --- tests/playbooks/run.yml | 2 +- tests/templates/kolla-build.conf.j2 | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/playbooks/run.yml b/tests/playbooks/run.yml index 6ccd38f99..cd2f5ca8c 100644 --- a/tests/playbooks/run.yml +++ b/tests/playbooks/run.yml @@ -33,6 +33,6 @@ dest: /etc/kolla/template_overrides.j2 - name: Run tox - command: tox -e {{ action }}-{{ base_distro }}{{ base_tag | default('') }}-{{ install_type }} + command: tox -e {{ action }}-{{ base_distro }}-{{ install_type }} args: chdir: "{{ zuul.project.src_dir }}" diff --git a/tests/templates/kolla-build.conf.j2 b/tests/templates/kolla-build.conf.j2 index 72fa5d7ff..cba3c16a9 100644 --- a/tests/templates/kolla-build.conf.j2 +++ b/tests/templates/kolla-build.conf.j2 @@ -2,9 +2,7 @@ debug = true {% if publisher %} namespace = kolla -{# TODO(mgoddard): Remove tag_suffix when CentOS 7 is no longer supported. #} -{% set tag_suffix = '-centos8' if ansible_distribution | lower == 'centos' and base_tag | default == 8 else '' %} -tag = {{ (zuul.tag if zuul.pipeline == "release" else zuul.branch | basename) ~ tag_suffix }} +tag = {{ (zuul.tag if zuul.pipeline == "release" else zuul.branch | basename) }} {% endif %} push = false logs_dir = {{ kolla_build_logs_dir }} -- cgit v1.2.3