Skip to content

Commit

Permalink
bin/ci/before_build.sh: tweak for Actions services
Browse files Browse the repository at this point in the history
the same trick multiple RabbitMQ clients and
rabbitmqadmin v2 successfully use.
  • Loading branch information
michaelklishin committed Feb 20, 2025
1 parent 643f0b5 commit f6a8e9d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 38 deletions.
6 changes: 6 additions & 0 deletions bin/ci/before_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
CTL=${BUNNY_RABBITMQCTL:-"sudo rabbitmqctl"}
PLUGINS=${BUNNY_RABBITMQ_PLUGINS:-"sudo rabbitmq-plugins"}

case $CTL in
DOCKER*)
PLUGINS="docker exec ${CTL##*:} rabbitmq-plugins"
CTL="docker exec ${CTL##*:} rabbitmqctl";;
esac

echo "Will use rabbitmqctl at ${CTL}"
echo "Will use rabbitmq-plugins at ${PLUGINS}"

Expand Down
38 changes: 0 additions & 38 deletions bin/ci/install_on_debian.sh

This file was deleted.

0 comments on commit f6a8e9d

Please sign in to comment.