try to fix federation test
authorFelix Ableitner <me@nutomic.com>
Thu, 10 Dec 2020 20:14:05 +0000 (21:14 +0100)
committerFelix Ableitner <me@nutomic.com>
Thu, 10 Dec 2020 20:14:05 +0000 (21:14 +0100)
.drone.yml
api_tests/prepare-drone-federation-test.sh

index 74306db13ce092c6db296d3318b5e40ab92529f0..1489b6bffa360e4af7503e288ab635a9a8fc142d 100644 (file)
@@ -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
 
index 96393f68018d76d212c6451bfb9bdb00d7d771f2..aadf52ad879d396041b91aaa182e0d1c92665791 100755 (executable)
@@ -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 \