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 <ROLE>/post_update_tasks.yaml and <ROLE>/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 642e396f28)
This commit is contained in:
Sofer Athlan-Guyot 2020-07-03 03:05:00 +02:00
parent e56cdbff2e
commit 4396f91bf4
1 changed files with 3 additions and 1 deletions

View File

@ -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]
}