Merge "Prevent updating derived_parameters in plan environment"
This commit is contained in:
@@ -11,6 +11,7 @@ workflows:
|
|||||||
input:
|
input:
|
||||||
- plan: overcloud
|
- plan: overcloud
|
||||||
- queue_name: tripleo
|
- queue_name: tripleo
|
||||||
|
- persist_params_in_plan: true
|
||||||
- user_inputs: {}
|
- user_inputs: {}
|
||||||
|
|
||||||
tags:
|
tags:
|
||||||
@@ -58,7 +59,9 @@ workflows:
|
|||||||
publish:
|
publish:
|
||||||
# Gets all the roles derived parameters as dictionary
|
# Gets all the roles derived parameters as dictionary
|
||||||
result: <% task().result.select($.get('derived_parameters', {})).sum() %>
|
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
|
on-error: set_status_failed_for_each_role
|
||||||
|
|
||||||
reset_derive_parameters_in_plan:
|
reset_derive_parameters_in_plan:
|
||||||
|
Reference in New Issue
Block a user