Skip to content

Commit 900a7bc

Browse files
committed
All-in-one workflow fixes for Caracal
1 parent 36cd87f commit 900a7bc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/stackhpc-all-in-one.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ jobs:
318318

319319
- name: Change rabbit queues from HA to Quorum
320320
run: |
321-
sed -i -e 's/om_enable_rabbitmq_high_availability: true/om_enable_rabbitmq_high_availability: false' \
322-
-e 's/om_enable_rabbitmq_quorum_queues: false/om_enable_rabbitmq_quorum_queues: true' \
321+
sed -i -e 's/om_enable_rabbitmq_high_availability: true/om_enable_rabbitmq_high_availability: false/' \
322+
-e 's/om_enable_rabbitmq_quorum_queues: false/om_enable_rabbitmq_quorum_queues: true/' \
323323
etc/kayobe/environments/ci-aio/kolla/globals.yml
324324
if: inputs.upgrade
325325

@@ -329,15 +329,16 @@ jobs:
329329
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
330330
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
331331
${{ steps.kayobe_image.outputs.kayobe_image }} \
332-
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh etc/kayobe/ansible/migrate-rabbitmq-queues.yml --tags rabbit-queue-migration
332+
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/script-run.sh tools/rabbitmq-quorum-migration.sh --skip-checks
333333
env:
334334
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
335335
if: inputs.upgrade
336336

337337
# If testing upgrade, checkout the current release branch
338338
# Stash changes to tracked files, and set clean=false to avoid removing untracked files.
339+
# Revert changes to RabbitMQ Queue types to avoid a merge conflict
339340
- name: Stash config changes
340-
run: git stash
341+
run: git restore etc/kayobe/environments/ci-aio/kolla/globals.yml && git stash
341342
if: inputs.upgrade
342343

343344
- name: Checkout current release config

0 commit comments

Comments
 (0)