From 4396f91bf4a3e13dd0da75f7c373d19973010953 Mon Sep 17 00:00:00 2001 From: Sofer Athlan-Guyot Date: Fri, 3 Jul 2020 03:05:00 +0200 Subject: [PATCH] Add update and post update tasks to step generated file. This will create update_tasks_stepX.yaml for X from 0 to 5 and post_update_tasks_stepX.yaml for X from 0 to 3. The usuals /post_update_tasks.yaml and /update_tasks.yaml are still created so that patch won't break current deployment but it will open the way to load each step file instead of looping over the step. Change-Id: Ibc7ba230bce3464482a91cfea3cc4791544e3abf (cherry picked from commit 642e396f280e3041c8b674fdf22d70b0f857a4ec) --- tripleo_common/constants.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tripleo_common/constants.py b/tripleo_common/constants.py index 3e966b1c3..a3eefc50a 100644 --- a/tripleo_common/constants.py +++ b/tripleo_common/constants.py @@ -224,5 +224,7 @@ _PER_STEP_TASK_STRICTNESS = [False for i in range(DEFAULT_STEPS_MAX)] PER_STEP_TASKS = { 'upgrade_tasks': _PER_STEP_TASK_STRICTNESS, - 'deploy_steps_tasks': _PER_STEP_TASK_STRICTNESS + 'deploy_steps_tasks': _PER_STEP_TASK_STRICTNESS, + 'update_tasks': _PER_STEP_TASK_STRICTNESS, + 'post_update_tasks': [False, False, False, False] }