Skip to content

Commit 642b4fd

Browse files
committed
* Add stop argument
1 parent fa9f103 commit 642b4fd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.ci/ubuntu/gha-setup.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ set -o nounset
4444
declare -r rabbitmq_docker_name="$docker_name_prefix-rabbitmq"
4545
declare -r toxiproxy_docker_name="$docker_name_prefix-toxiproxy"
4646

47+
if [[ $1 == 'stop' ]]
48+
then
49+
docker stop "$rabbitmq_docker_name"
50+
docker stop "$toxiproxy_docker_name"
51+
exit 0
52+
fi
53+
4754
function start_toxiproxy
4855
{
4956
if [[ $run_toxiproxy == 'true' ]]

0 commit comments

Comments
 (0)