Merge "Be able to know when we are running inside a minor update workflow"
This commit is contained in:
@@ -470,6 +470,8 @@
|
|||||||
# we have new paunch version related to
|
# we have new paunch version related to
|
||||||
# https://review.openstack.org/#/c/635438/
|
# https://review.openstack.org/#/c/635438/
|
||||||
- name: Start containers for step {{ step }}
|
- name: Start containers for step {{ step }}
|
||||||
|
environment:
|
||||||
|
TRIPLEO_MINOR_UPDATE: '{{ tripleo_minor_update | default(false) }}'
|
||||||
command: >-
|
command: >-
|
||||||
paunch {% if enable_debug|bool %}--debug{% else %}-v{% endif %} apply
|
paunch {% if enable_debug|bool %}--debug{% else %}-v{% endif %} apply
|
||||||
--default-runtime "{{ container_cli }}"
|
--default-runtime "{{ container_cli }}"
|
||||||
|
|||||||
@@ -504,6 +504,7 @@ outputs:
|
|||||||
docker_puppet_debug: DOCKER_PUPPET_DEBUG
|
docker_puppet_debug: DOCKER_PUPPET_DEBUG
|
||||||
docker_puppet_process_count: DOCKER_PUPPET_PROCESS_COUNT
|
docker_puppet_process_count: DOCKER_PUPPET_PROCESS_COUNT
|
||||||
docker_puppet_mount_host_puppet: DOCKER_PUPPET_MOUNT_HOST_PUPPET
|
docker_puppet_mount_host_puppet: DOCKER_PUPPET_MOUNT_HOST_PUPPET
|
||||||
|
tripleo_minor_update: true
|
||||||
tasks:
|
tasks:
|
||||||
- include_tasks: update_steps_tasks.yaml
|
- include_tasks: update_steps_tasks.yaml
|
||||||
with_sequence: start=0 end={{update_steps_max-1}}
|
with_sequence: start=0 end={{update_steps_max-1}}
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
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.
|
||||||
Reference in New Issue
Block a user