Skip to content

Commit

Permalink
[2023.1 only] Add a script to upgrade RMQ to 3.13
Browse files Browse the repository at this point in the history
To be used in CI prior to a SLURP upgrade.

Change-Id: I7a1c89eba32a3a55e845804bf91c2eab93322c21
  • Loading branch information
MoteHue committed Sep 30, 2024
1 parent 88f6a26 commit 7ffc73f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions dev/rabbitmq-pre-slurp-upgrade.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#!/bin/bash

set -eu
set -o pipefail

# Install kayobe and its dependencies in a virtual environment.

PARENT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

source "${PARENT}/functions"

function main {
echo "Upgrading RabbitMQ to version 3.13"

config_init

environment_setup

control_host_bootstrap

kayobe kolla ansible run "rabbitmq-upgrade 3.12"

kayobe kolla ansible run "rabbitmq-upgrade 3.13"
}

main

0 comments on commit 7ffc73f

Please sign in to comment.