From 580fb660dfc663ab4e2aaaddea34e69a755f4e4f Mon Sep 17 00:00:00 2001 From: Jiri Stransky Date: Wed, 3 Oct 2018 14:51:46 +0200 Subject: [PATCH] Tag container image prepare tasks to allow running them for updates/upgrades Updates/upgrades workflow must not run during `upgrade prepare` or `upgrade run`, but during `upgrade run` we need to have the images available. So the intention is to run `external-upgrade run --tags container_image_prepare` between `upgrade prepare` and `upgrade run`. The situation is analogical for `update` and `external-update` commands. Change-Id: I49de9a41c62204ab7cd835fec6dab8d59b054948 Closes-Bug: #1795881 --- puppet/services/container-image-prepare.j2.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/puppet/services/container-image-prepare.j2.yaml b/puppet/services/container-image-prepare.j2.yaml index 0ad1b3248e..ec6fdcdf9e 100644 --- a/puppet/services/container-image-prepare.j2.yaml +++ b/puppet/services/container-image-prepare.j2.yaml @@ -75,6 +75,7 @@ outputs: external_deploy_tasks: - name: Container image prepare when: step|int == 1 + tags: container_image_prepare block: - set_fact: log_file: {get_param: ContainerImagePrepareLogFile}