Merge "Gate: Simpler multiple distro/over-ride support"

This commit is contained in:
Zuul 2019-06-25 16:41:25 +00:00 committed by Gerrit Code Review
commit a35ded2efc
2 changed files with 21 additions and 6 deletions

View File

@ -0,0 +1,17 @@
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
osh_params:
openstack_release: newton
container_distro_name: ubuntu
container_distro_version: xenial
#feature_gates:

View File

@ -19,11 +19,9 @@
environment:
zuul_site_mirror_fqdn: "{{ zuul_site_mirror_fqdn }}"
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
OSH_VALUES_OVERRIDES_HELM_ARGS: >
{% if values_overrides is defined %}
{% for value_override in values_overrides %}
--values={{ value_override }}
{% endfor %}
{% endif %}
OSH_PATH: "{{ zuul_osh_relative_path | default('../openstack-helm/') }}"
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('../openstack-helm-infra/') }}"
OPENSTACK_RELEASE: "{{ osh_params.openstack_release }}"
CONTAINER_DISTRO_NAME: "{{ osh_params.container_distro_name }}"
CONTAINER_DISTRO_VERSION: "{{ osh_params.container_distro_version }}"
FEATURE_GATES: "{{ osh_params.feature_gates | default('') }}"