From 405e7eff27a0e2091e34936eebf30e2a3d525933 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Thu, 10 Dec 2020 21:14:05 +0100 Subject: [PATCH] try to fix federation test --- .drone.yml | 2 +- api_tests/prepare-drone-federation-test.sh | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 74306db13..1489b6bff 100644 --- a/.drone.yml +++ b/.drone.yml @@ -66,8 +66,8 @@ steps: commands: - apt-get update - apt-get -y install --no-install-recommends bash curl postgresql-client - - cd api_tests/ - bash prepare-drone-federation-test.sh + - cd api_tests/ - yarn - yarn api-test diff --git a/api_tests/prepare-drone-federation-test.sh b/api_tests/prepare-drone-federation-test.sh index 96393f680..aadf52ad8 100755 --- a/api_tests/prepare-drone-federation-test.sh +++ b/api_tests/prepare-drone-federation-test.sh @@ -1,9 +1,6 @@ #!/bin/bash set -e -# change folder so the config can be read from the default location -cd .. - export LEMMY_JWT_SECRET=changeme export LEMMY_FEDERATION__ENABLED=true export LEMMY_TLS_ENABLED=false @@ -14,6 +11,8 @@ export LEMMY_CAPTCHA__ENABLED=false export RUST_BACKTRACE=1 export RUST_LOG=debug +ls -la target/debug/lemmy_server + echo "start alpha" LEMMY_HOSTNAME=lemmy-alpha:8541 \ LEMMY_PORT=8541 \