Skip to content

Commit

Permalink
Merge pull request #9467 from SimonUnge/stop-broker
Browse files Browse the repository at this point in the history
Expose the "stop-broker" CMD
  • Loading branch information
michaelklishin authored Sep 19, 2023
2 parents 60e2624 + 588f932 commit c8baa78
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,15 @@ 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 c8baa78

Please sign in to comment.