Allow value overrides in CI

This allows to pass a new env var into shell scripts, for value
overrides, with Zuul's help (value_overrides can be part of the
job definition).

Change-Id: Ia5dcecb73f4b872fd8fb65d3cd0bf69c19addf07
This commit is contained in:
Jean-Philippe Evrard 2019-04-10 13:17:46 +02:00
parent ab887b11aa
commit 811a1df1ef

View File

@ -19,5 +19,11 @@
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/') }}"