Merge "Added exclude list for victoria release"

This commit is contained in:
Zuul 2020-10-10 03:48:08 +00:00 committed by Gerrit Code Review
commit 7512b23e09
2 changed files with 9 additions and 3 deletions

View File

@ -10,7 +10,7 @@ TRIPLEO_CI_PATH="{{ ansible_user_dir }}/src/opendev.org/openstack/tripleo-ci"
{% if use_kolla | default(true) %}
openstack overcloud container image build {{ container_config }}\
--kolla-config-file {{ workspace }}/kolla-build.conf \
{% if ci_branch != 'rocky' %}
{% if ci_branch != 'rocky' and ci_branch in exclude_containers %}
{% for item in exclude_containers[ci_branch] %}
--exclude {{ item }} \
{% endfor %}
@ -23,7 +23,7 @@ egrep "^- " containers-to-build-full.log | awk '{ print $2 }' > containers-expec
### build
openstack overcloud container image build {{ container_config }}\
{% if ci_branch != 'rocky' %}
{% if ci_branch != 'rocky' and ci_branch in exclude_containers %}
{% for item in exclude_containers[ci_branch] %}
--exclude {{ item }} \
{% endfor %}
@ -94,9 +94,12 @@ openstack tripleo container image build \
{% if rhel_modules is defined %}
--rhel-modules {{ rhel_modules | join(",") }} \
{% endif %}
{% for item in exclude_containers[osp_branch|default(ci_branch)] %}
{% set branch = osp_branch|default(ci_branch) %}
{% if branch in exclude_containers %}
{% for item in exclude_containers[branch] %}
--exclude {{ item }} \
{% endfor %}
{% endif %}
--tag {{ version_hash }} \
--base {{ containers_base_image | default('ubi8') }} \
--prefix {{ container_name_prefix }} \

View File

@ -9,6 +9,8 @@ virtualenv_python:
7: python
8: python3
# Current implementation assumes that any branch name not mentioned here
# would default to the excludes defined on master branch.
exclude_containers:
master: &exclude_containers
- fluentd
@ -23,6 +25,7 @@ exclude_containers:
- sensu-client
- sensu-base
- influxdb
victoria: *exclude_containers
ussuri: *exclude_containers
train: *exclude_containers
stein: