Merge "Restore overrides functionality after regression"
This commit is contained in:
commit
17a7eb5cdc
@ -53,10 +53,11 @@ limitations under the License.
|
|||||||
|
|
||||||
{{/* apply overrides */}}
|
{{/* apply overrides */}}
|
||||||
{{- $override_conf_copy := $host_data.conf }}
|
{{- $override_conf_copy := $host_data.conf }}
|
||||||
{{- $root_conf_copy := omit $context.Values.conf "overrides" }}
|
{{/* Deep copy to prevent https://storyboard.openstack.org/#!/story/2005936 */}}
|
||||||
{{- $merged_dict := merge $override_conf_copy $root_conf_copy }}
|
{{- $root_conf_copy := omit ($context.Values.conf | toYaml | fromYaml) "overrides" }}
|
||||||
|
{{- $merged_dict := mergeOverwrite $root_conf_copy $override_conf_copy }}
|
||||||
{{- $root_conf_copy2 := dict "conf" $merged_dict }}
|
{{- $root_conf_copy2 := dict "conf" $merged_dict }}
|
||||||
{{- $context_values := omit $context.Values "conf" }}
|
{{- $context_values := omit (omit ($context.Values | toYaml | fromYaml) "conf") "__daemonset_list" }}
|
||||||
{{- $root_conf_copy3 := mergeOverwrite $context_values $root_conf_copy2 }}
|
{{- $root_conf_copy3 := mergeOverwrite $context_values $root_conf_copy2 }}
|
||||||
{{- $root_conf_copy4 := dict "Values" $root_conf_copy3 }}
|
{{- $root_conf_copy4 := dict "Values" $root_conf_copy3 }}
|
||||||
{{- $_ := set $current_dict "nodeData" $root_conf_copy4 }}
|
{{- $_ := set $current_dict "nodeData" $root_conf_copy4 }}
|
||||||
@ -92,10 +93,11 @@ limitations under the License.
|
|||||||
|
|
||||||
{{/* apply overrides */}}
|
{{/* apply overrides */}}
|
||||||
{{- $override_conf_copy := $label_data.conf }}
|
{{- $override_conf_copy := $label_data.conf }}
|
||||||
{{- $root_conf_copy := omit $context.Values.conf "overrides" }}
|
{{/* Deep copy to prevent https://storyboard.openstack.org/#!/story/2005936 */}}
|
||||||
{{- $merged_dict := merge $override_conf_copy $root_conf_copy }}
|
{{- $root_conf_copy := omit ($context.Values.conf | toYaml | fromYaml) "overrides" }}
|
||||||
|
{{- $merged_dict := mergeOverwrite $root_conf_copy $override_conf_copy }}
|
||||||
{{- $root_conf_copy2 := dict "conf" $merged_dict }}
|
{{- $root_conf_copy2 := dict "conf" $merged_dict }}
|
||||||
{{- $context_values := omit $context.Values "conf" }}
|
{{- $context_values := omit (omit ($context.Values | toYaml | fromYaml) "conf") "__daemonset_list" }}
|
||||||
{{- $root_conf_copy3 := mergeOverwrite $context_values $root_conf_copy2 }}
|
{{- $root_conf_copy3 := mergeOverwrite $context_values $root_conf_copy2 }}
|
||||||
{{- $root_conf_copy4 := dict "Values" $root_conf_copy3 }}
|
{{- $root_conf_copy4 := dict "Values" $root_conf_copy3 }}
|
||||||
{{- $_ := set $context.Values.__current_label "nodeData" $root_conf_copy4 }}
|
{{- $_ := set $context.Values.__current_label "nodeData" $root_conf_copy4 }}
|
||||||
|
@ -47,10 +47,11 @@ limitations under the License.
|
|||||||
|
|
||||||
{{/* apply overrides */}}
|
{{/* apply overrides */}}
|
||||||
{{- $override_conf_copy := $host_data.conf }}
|
{{- $override_conf_copy := $host_data.conf }}
|
||||||
{{- $root_conf_copy := omit $context.Values.conf "overrides" }}
|
{{/* Deep copy to prevent https://storyboard.openstack.org/#!/story/2005936 */}}
|
||||||
{{- $merged_dict := merge $override_conf_copy $root_conf_copy }}
|
{{- $root_conf_copy := omit ($context.Values.conf | toYaml | fromYaml) "overrides" }}
|
||||||
|
{{- $merged_dict := mergeOverwrite $root_conf_copy $override_conf_copy }}
|
||||||
{{- $root_conf_copy2 := dict "conf" $merged_dict }}
|
{{- $root_conf_copy2 := dict "conf" $merged_dict }}
|
||||||
{{- $context_values := omit $context.Values "conf" }}
|
{{- $context_values := omit (omit ($context.Values | toYaml | fromYaml) "conf") "__daemonset_list" }}
|
||||||
{{- $root_conf_copy3 := mergeOverwrite $context_values $root_conf_copy2 }}
|
{{- $root_conf_copy3 := mergeOverwrite $context_values $root_conf_copy2 }}
|
||||||
{{- $root_conf_copy4 := dict "Values" $root_conf_copy3 }}
|
{{- $root_conf_copy4 := dict "Values" $root_conf_copy3 }}
|
||||||
{{- $_ := set $current_dict "nodeData" $root_conf_copy4 }}
|
{{- $_ := set $current_dict "nodeData" $root_conf_copy4 }}
|
||||||
@ -86,10 +87,11 @@ limitations under the License.
|
|||||||
|
|
||||||
{{/* apply overrides */}}
|
{{/* apply overrides */}}
|
||||||
{{- $override_conf_copy := $label_data.conf }}
|
{{- $override_conf_copy := $label_data.conf }}
|
||||||
{{- $root_conf_copy := omit $context.Values.conf "overrides" }}
|
{{/* Deep copy to prevent https://storyboard.openstack.org/#!/story/2005936 */}}
|
||||||
{{- $merged_dict := merge $override_conf_copy $root_conf_copy }}
|
{{- $root_conf_copy := omit ($context.Values.conf | toYaml | fromYaml) "overrides" }}
|
||||||
|
{{- $merged_dict := mergeOverwrite $root_conf_copy $override_conf_copy }}
|
||||||
{{- $root_conf_copy2 := dict "conf" $merged_dict }}
|
{{- $root_conf_copy2 := dict "conf" $merged_dict }}
|
||||||
{{- $context_values := omit $context.Values "conf" }}
|
{{- $context_values := omit (omit ($context.Values | toYaml | fromYaml) "conf") "__daemonset_list" }}
|
||||||
{{- $root_conf_copy3 := mergeOverwrite $context_values $root_conf_copy2 }}
|
{{- $root_conf_copy3 := mergeOverwrite $context_values $root_conf_copy2 }}
|
||||||
{{- $root_conf_copy4 := dict "Values" $root_conf_copy3 }}
|
{{- $root_conf_copy4 := dict "Values" $root_conf_copy3 }}
|
||||||
{{- $_ := set $context.Values.__current_label "nodeData" $root_conf_copy4 }}
|
{{- $_ := set $context.Values.__current_label "nodeData" $root_conf_copy4 }}
|
||||||
|
@ -20,6 +20,6 @@ git clone https://opendev.org/airship/divingbell
|
|||||||
cd divingbell
|
cd divingbell
|
||||||
mkdir build
|
mkdir build
|
||||||
ln -s ../openstack-helm-infra build/openstack-helm-infra
|
ln -s ../openstack-helm-infra build/openstack-helm-infra
|
||||||
export HELM_ARTIFACT_URL=https://storage.googleapis.com/kubernetes-helm/helm-v2.13.0-linux-amd64.tar.gz
|
export HELM_ARTIFACT_URL=https://storage.googleapis.com/kubernetes-helm/helm-v2.14.1-linux-amd64.tar.gz
|
||||||
./tools/gate/scripts/010-build-charts.sh
|
./tools/gate/scripts/010-build-charts.sh
|
||||||
sudo SKIP_BASE_TESTS=true ./tools/gate/scripts/020-test-divingbell.sh
|
sudo SKIP_BASE_TESTS=true ./tools/gate/scripts/020-test-divingbell.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user