From a7a02f0da866c66dce9757a42bf56144cfa70d5a Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Thu, 7 Sep 2017 09:13:04 +0200 Subject: [PATCH] Tag workflows created by the templates This is useful to easily filter workflows created by the templates and for a specific stack. Change-Id: I0a26cacaf5ad5709881043434694c9254a9e710b Related-Bug: #1715389 --- common/deploy-steps.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/deploy-steps.j2 b/common/deploy-steps.j2 index 1119fb6080..e8ee49d939 100644 --- a/common/deploy-steps.j2 +++ b/common/deploy-steps.j2 @@ -108,6 +108,9 @@ resources: properties: name: {list_join: [".", ["tripleo", {get_param: stack_name}, "workflowtasks", "step{{step}}"]]} type: direct + tags: + - tripleo-heat-templates-managed + - {get_param: stack_name} tasks: yaql: expression: $.data.where($ != '').select($.get('step{{step}}')).where($ != null).flatten()