Run prepare during package_update workflow

Image prepare is not currently running during the updates workflow,
which is breaking the updates CI job.

Depends-On: I9bd21b67a9bf9254458351e8ba784ed66f9949f4
Change-Id: I26ed63c8e8428b05af20ee68ca6a2b089b3d8bc7
Partial-Bug: #1791332
This commit is contained in:
Steve Baker 2018-09-10 15:27:01 -06:00 committed by Jiri Stransky
parent fc1f301f26
commit 93ebf8962c
1 changed files with 16 additions and 3 deletions

View File

@ -5,9 +5,13 @@ description: TripleO update workflows
workflows:
# Updates a workload cloud stack
package_update_plan:
description: Take a container and perform a package update with possible breakpoints
description: >-
Update the heat stack outputs for purposes of
update/upgrade. This workflow assumes that previously the
plan_management.update_deployment_plan workflow has already been
run to process the templates and environments (the same way as
'deploy' command processes them).
input:
- container
@ -20,7 +24,16 @@ workflows:
- tripleo-common-managed
tasks:
update:
container_image_prepare_params:
action: tripleo.container_images.prepare_params
input:
container: <% $.container %>
publish-on-error:
message: <% task().result %>
on-success: update_stack
on-error: set_update_failed
update_stack:
action: tripleo.package_update.update_stack
input:
timeout: <% $.timeout %>