From: Felix Ableitner Date: Fri, 11 Dec 2020 17:22:16 +0000 (+0100) Subject: use hosts file X-Git-Url: http://these/git/%7B%24%7B%60data:application/%22%7Burl%7D/%7BpictshareAvatarThumbnail%28?a=commitdiff_plain;h=0c89e9c2d67d279a73d989ac745a9e2d48cf6966;p=lemmy.git use hosts file --- 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 \