Prevent updating derived_parameters in plan environment
When deploying overcloud with update-plan-only option, need to prevent updating the derived parameters section in container plan-environment file. derived_parameters will be used only in the deployment when using overcloud deploy without update-plan-only option. Change-Id: I35a35910e5f481d7b7fd7cfea6a20ee8e2cc6816 Closes-Bug: #1770109
This commit is contained in:
parent
cef9c40651
commit
6f6ffe1dff
@ -11,6 +11,7 @@ workflows:
|
||||
input:
|
||||
- plan: overcloud
|
||||
- queue_name: tripleo
|
||||
- persist_params_in_plan: true
|
||||
- user_inputs: {}
|
||||
|
||||
tags:
|
||||
@ -58,7 +59,9 @@ workflows:
|
||||
publish:
|
||||
# Gets all the roles derived parameters as dictionary
|
||||
result: <% task().result.select($.get('derived_parameters', {})).sum() %>
|
||||
on-success: reset_derive_parameters_in_plan
|
||||
on-success:
|
||||
- send_message: <% not $.persist_params_in_plan %>
|
||||
- reset_derive_parameters_in_plan: <% $.persist_params_in_plan %>
|
||||
on-error: set_status_failed_for_each_role
|
||||
|
||||
reset_derive_parameters_in_plan:
|
||||
|
Loading…
x
Reference in New Issue
Block a user