From 0c89e9c2d67d279a73d989ac745a9e2d48cf6966 Mon Sep 17 00:00:00 2001 From: Felix Ableitner <me@nutomic.com> Date: Fri, 11 Dec 2020 18:22:16 +0100 Subject: [PATCH] use hosts file --- api_tests/prepare-drone-federation-test.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api_tests/prepare-drone-federation-test.sh b/api_tests/prepare-drone-federation-test.sh index 769fb386..5ca1407f 100755 --- a/api_tests/prepare-drone-federation-test.sh +++ b/api_tests/prepare-drone-federation-test.sh @@ -15,6 +15,10 @@ for INSTANCE in lemmy_alpha lemmy_beta lemmy_gamma lemmy_delta lemmy_epsilon; do psql "$LEMMY_DATABASE_URL" -c "CREATE DATABASE $INSTANCE" done +for INSTANCE in lemmy_alpha lemmy_beta lemmy_gamma lemmy_delta lemmy_epsilon; do + echo "127.0.0.1 $INSTANCE" >> /etc/hosts +done + echo "start alpha" LEMMY_HOSTNAME=lemmy-alpha:8541 \ LEMMY_PORT=8541 \ -- 2.44.1