From 93ebf8962cbe044c6ec716d549b86e92a3d0ce5f Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Mon, 10 Sep 2018 15:27:01 -0600 Subject: [PATCH] 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 --- workbooks/package_update.yaml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/workbooks/package_update.yaml b/workbooks/package_update.yaml index f08cc212c..b8171f30c 100644 --- a/workbooks/package_update.yaml +++ b/workbooks/package_update.yaml @@ -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 %>