From 9c7f2cb0c34b147c6a3df7f33e201fe580cadba4 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 11 Dec 2020 17:33:55 +0100 Subject: [PATCH] fix bin path --- .drone.yml | 9 +++------ api_tests/prepare-drone-federation-test.sh | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3ce083f36..01494231b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -61,16 +61,13 @@ 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 + - mv target/x86_64-unknown-linux-musl/reease/lemmy_server target/lemmy_server + - ls -la target/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 + - ls -la target/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 7a2c93221..84e4f2883 100755 --- a/api_tests/prepare-drone-federation-test.sh +++ b/api_tests/prepare-drone-federation-test.sh @@ -18,7 +18,7 @@ LEMMY_HOSTNAME=lemmy-alpha:8541 \ LEMMY_FEDERATION__ALLOWED_INSTANCES=lemmy-beta,lemmy-gamma,lemmy-delta,lemmy-epsilon \ LEMMY_SETUP__ADMIN_USERNAME=lemmy_alpha \ LEMMY_SETUP__SITE_NAME=lemmy-alpha \ - target/release/lemmy_server + target/lemmy_server echo "start beta" LEMMY_HOSTNAME=lemmy-beta:8551 \