Add the RootStackName parameter to the plan

Change-Id: Id145803cb85aa3bde6ca2e2c8c58a45df601b2f7
This commit is contained in:
Dougal Matthews 2017-11-22 13:48:01 +00:00
parent 9f5e38e7d3
commit 5798748cb5

View File

@ -118,13 +118,25 @@ workflows:
create_plan:
on-success:
- ensure_passwords_exist: <% $.generate_passwords = true %>
- container_images_prepare: <% $.generate_passwords != true %>
- add_root_stack_name: <% $.generate_passwords != true %>
ensure_passwords_exist:
action: tripleo.parameters.generate_passwords container=<% $.container %>
on-success: container_images_prepare
on-success: add_root_stack_name
on-error: ensure_passwords_exist_set_status_failed
add_root_stack_name:
action: tripleo.parameters.update
input:
container: <% $.container %>
parameters:
RootStackName: <% $.container %>
on-success: container_images_prepare
publish-on-error:
status: FAILED
message: <% task().result %>
on-error: notify_zaqar
container_images_prepare:
description: >
Populate all container image parameters with default values.