Skip to content

Commit

Permalink
Merge pull request #9469 from rabbitmq/mergify/bp/v3.12.x/pr-9467
Browse files Browse the repository at this point in the history
Expose the "stop-broker" CMD (backport #9467)
  • Loading branch information
michaelklishin authored Sep 19, 2023
2 parents 2e60d18 + 73c4203 commit 387a5cc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,14 @@ rabbitmq_run_command(
subcommand = "start-background-broker",
)

# Allow us to `bazel run stop-broker`
# Useful is broker started in the background
rabbitmq_run_command(
name = "stop-broker",
rabbitmq_run = ":rabbitmq-run",
subcommand = "stop-node",
)

# Allow us to `bazel run start-cluster`
# for the equivalent of `make start-cluster`
rabbitmq_run_command(
Expand Down

0 comments on commit 387a5cc

Please sign in to comment.