7133394c35
With this change we add an ansible variable called 'tripleo_minor_update' set to true only during the update_steps_playbook which get run during a minor update. Then inside common/deploy-steps-tasks when starting containers with paunch we export this 'tripleo_minor_update' ansible variable and push it inside the 'TRIPLEO_MINOR_UPDATE' environment variable. Inside change Id1d671506d3ec827bc311b47d9363952e1239ce3 we will then use the env variable and export it to the restart_bundles in order to detect if we're inside a minor update workflow (as opposed to a redeploy - aka stack update). The testing that has been done is described in the above change. Co-Authored-By: Damien Ciabrini <dciabrin@redhat.com> Change-Id: Ib3562adbd83f7162c2aeb450329b7cc4ab200fc2
8 lines
332 B
YAML
8 lines
332 B
YAML
---
|
|
fixes:
|
|
- |
|
|
It is now possible for temporary containers inside THT to test if they are being run
|
|
as part of a minor update by checking if the TRIPLEO_MINOR_UPDATE environment
|
|
variable is set to 'true' (said containers need to export it to the container explicitely),
|
|
see <service>_restart_bundles for examples.
|