-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
also add a hack/until to run the services needed by the integration tests locally Signed-off-by: Doug Davis <dug@microsoft.com>
- Loading branch information
Doug Davis
committed
Oct 21, 2023
1 parent
566d1be
commit 0a006bb
Showing
2 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/bin/bash | ||
|
||
# Run the services needed by the integration test in our local docker install | ||
|
||
if [[ "$1" == "stop" ]]; then | ||
docker rm -f kafka nats amqp mqtt | ||
exit 0 | ||
fi | ||
|
||
# Kafka | ||
docker run --name kafka -dti -e ADV_HOST=localhost -p 9091:9091 -p 9092:9092 \ | ||
lensesio/fast-data-dev | ||
|
||
# NATS | ||
docker run --name nats -dti -p 4222:4222 nats-streaming:0.22.1 | ||
|
||
# AMQP | ||
docker run --name amqp -dti -e QDROUTERD_CONFIG_OPTIONS=' | ||
router { | ||
mode: standalone | ||
id: ZTg2NDQ0N2Q1YjU1OGE1N2NkNzY4NDFk | ||
workerThreads: 4 | ||
} | ||
log { | ||
module: DEFAULT | ||
enable: trace+ | ||
timestamp: true | ||
} | ||
listener { | ||
role: normal | ||
host: 0.0.0.0 | ||
port: amqp | ||
saslMechanisms: ANONYMOUS | ||
}' -p 5672:5672 scholzj/qpid-dispatch | ||
|
||
# MQTT | ||
docker run --name mqtt -dti -p 1883:1883 eclipse-mosquitto:1.6 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters