aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMark Goddard <mark@stackhpc.com>2020-03-16 15:00:35 +0000
committerMark Goddard <mark@stackhpc.com>2020-03-17 16:38:43 +0000
commit8294bac01bf3641452a6a39bbc4f58388838be84 (patch)
treeb2d058e3daa0c668aef6ddaadcef95be3acd364d /tests
parente4bb18819fc0480ecf36f98367cae48ec226bb50 (diff)
downloadkolla-8294bac01bf3641452a6a39bbc4f58388838be84.tar.gz
kolla-8294bac01bf3641452a6a39bbc4f58388838be84.zip
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
Diffstat (limited to 'tests')
-rw-r--r--tests/playbooks/run.yml2
-rw-r--r--tests/templates/kolla-build.conf.j24
2 files changed, 2 insertions, 4 deletions
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 }}