File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -335,6 +335,26 @@ jobs:
335335 env :
336336 KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
337337
338+ - name : Change RabbitMQ queues from transient types to durable types (quorum and streams)
339+ run : |
340+ sed -i -e '$aom_enable_queue_manager: True' \
341+ -e '$aom_enable_rabbitmq_quorum_queues: True' \
342+ -e '$aom_enable_rabbitmq_transient_quorum_queue: True' \
343+ -e '$aom_enable_rabbitmq_stream_fanout: True' \
344+ etc/kayobe/environments/ci-aio/kolla/globals.yml
345+ if : inputs.upgrade
346+
347+ - name : Migrate RabbitMQ queues
348+ run : |
349+ docker run -t --rm \
350+ -v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
351+ -e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
352+ ${{ steps.kayobe_image.outputs.kayobe_image }} \
353+ /stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/script-run.sh tools/rabbitmq-queue-migration.sh
354+ env :
355+ KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
356+ if : inputs.upgrade
357+
338358 # If testing upgrade, checkout the current release branch
339359 # Stash changes to tracked files, and set clean=false to avoid removing untracked files.
340360 # Revert changes to RabbitMQ Queue types to avoid a merge conflict
You can’t perform that action at this time.
0 commit comments