mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Sprout speaks Nostr. Nothing else. (#475)
This commit is contained in:
@@ -160,6 +160,7 @@ jobs:
|
||||
RELAY_URL=ws://localhost:3000 \
|
||||
SPROUT_BIND_ADDR=0.0.0.0:3000 \
|
||||
SPROUT_REQUIRE_AUTH_TOKEN=false \
|
||||
SPROUT_RECONCILE_CHANNELS=true \
|
||||
./target/ci/sprout-relay > /tmp/sprout-relay.log 2>&1 &
|
||||
echo $! > /tmp/sprout-relay.pid
|
||||
for attempt in $(seq 1 60); do
|
||||
@@ -167,8 +168,8 @@ jobs:
|
||||
cat /tmp/sprout-relay.log
|
||||
exit 1
|
||||
fi
|
||||
status_code=$(curl -s -o /dev/null -w "%{http_code}" http://127.0.0.1:3000/api/channels || true)
|
||||
if [ "${status_code}" != "000" ]; then
|
||||
status_code=$(curl -s -o /dev/null -w "%{http_code}" http://127.0.0.1:3000/_readiness || true)
|
||||
if [ "${status_code}" = "200" ]; then
|
||||
exit 0
|
||||
fi
|
||||
sleep 1
|
||||
|
||||
Reference in New Issue
Block a user