From b61bfcefa78fea03be84e1081e90a12cb5e8d76d Mon Sep 17 00:00:00 2001
From: Felix Ableitner <me@nutomic.com>
Date: Fri, 11 Dec 2020 17:27:18 +0100
Subject: [PATCH] find the binary

---
 .drone.yml                                 | 6 ++++++
 api_tests/prepare-drone-federation-test.sh | 2 --
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.drone.yml b/.drone.yml
index 08e2ae78..3ce083f3 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -61,10 +61,16 @@ steps:
     image: ekidd/rust-musl-builder:1.47.0
     commands:
       - cargo build --release
+      - ls -la target/
+      - ls -la target/release/
+      - ls -la target/release/lemmy_server
 
   - name: run federation tests
     image: node:15-alpine3.12
     commands:
+      - ls -la target/
+      - ls -la target/release/
+      - ls -la target/release/lemmy_server
       - apk add bash curl postgresql-client
       - bash api_tests/prepare-drone-federation-test.sh
       - cd api_tests/
diff --git a/api_tests/prepare-drone-federation-test.sh b/api_tests/prepare-drone-federation-test.sh
index e4a30d69..7a2c9322 100755
--- a/api_tests/prepare-drone-federation-test.sh
+++ b/api_tests/prepare-drone-federation-test.sh
@@ -11,8 +11,6 @@ export LEMMY_CAPTCHA__ENABLED=false
 export RUST_BACKTRACE=1
 export RUST_LOG=debug
 
-ls -la target/release/lemmy_server
-
 echo "start alpha"
 LEMMY_HOSTNAME=lemmy-alpha:8541 \
   LEMMY_PORT=8541 \
-- 
2.44.1