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:
parent
ab887b11aa
commit
811a1df1ef
@ -19,5 +19,11 @@
|
|||||||
environment:
|
environment:
|
||||||
zuul_site_mirror_fqdn: "{{ zuul_site_mirror_fqdn }}"
|
zuul_site_mirror_fqdn: "{{ zuul_site_mirror_fqdn }}"
|
||||||
OSH_EXTRA_HELM_ARGS: "{{ zuul_osh_extra_helm_args_relative_path | default('') }}"
|
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_PATH: "{{ zuul_osh_relative_path | default('../openstack-helm/') }}"
|
||||||
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('../openstack-helm-infra/') }}"
|
OSH_INFRA_PATH: "{{ zuul_osh_infra_relative_path | default('../openstack-helm-infra/') }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user