Merge "CentOS 8: separate kolla build tag from deploy tag"

This commit is contained in:
Zuul 2020-06-05 21:13:52 +00:00 committed by Gerrit Code Review
commit e379bfbd90
6 changed files with 20 additions and 2 deletions

View File

@ -74,6 +74,10 @@ kolla_docker_registry_password:
# Default is {{ openstack_release }}.
kolla_openstack_release: "{{ openstack_release }}"
# Docker tag applied to built container images. Default is
# {{ kolla_openstack_release }}.
kolla_tag: "{{ kolla_openstack_release }}"
# Dict mapping names of sources to their definitions for
# kolla_install_type=source. See kolla.common.config for details.
# Example:

View File

@ -15,7 +15,7 @@ kolla_install_type:
kolla_docker_namespace:
# Valid option is Docker repository tag
kolla_openstack_release:
kolla_tag:
# Dict mapping names of sources to their definitions for
# kolla_install_type=source. See kolla.common.config for details.

View File

@ -12,7 +12,7 @@ install_type={{ kolla_install_type }}
namespace={{ kolla_docker_namespace }}
# Docker image tag to apply.
tag={{ kolla_openstack_release }}
tag={{ kolla_tag }}
# Path to a file containing template overrides.
template_override={{ kolla_build_config_path }}/template-override.j2

View File

@ -92,6 +92,9 @@ affect :ref:`Kolla Ansible configuration <configuration-kolla-ansible-global>`.
Kolla OpenStack release version. This should be a Docker image tag. Default
is the OpenStack release name (e.g. ``rocky``) on stable branches and
tagged releases, or ``master`` on the Kayobe ``master`` branch.
``kolla_tag``
Kolla container image tag. This is the tag that will be applied to built
container images. Default is ``kolla_openstack_release``.
For example, to build the Kolla ``centos`` ``binary`` images with a namespace
of ``example``, and a private Docker registry at ``registry.example.com:4000``,

View File

@ -86,6 +86,10 @@
# Default is {{ openstack_release }}.
#kolla_openstack_release:
# Docker tag applied to built container images. Default is
# {{ kolla_openstack_release }}.
#kolla_tag:
# Dict mapping names of sources to their definitions for
# kolla_install_type=source. See kolla.common.config for details.
# Example:

View File

@ -0,0 +1,7 @@
---
features:
- |
Adds a variable for controlling the tag applied to built container images -
``kolla_tag``. This separates the configuration of the tag for image
building from that used for deployment (``kolla_openstack_release``). The
default for ``kolla_tag`` is ``kolla_openstack_release``.