From: Felix Ableitner Date: Fri, 11 Dec 2020 16:33:55 +0000 (+0100) Subject: fix bin path X-Git-Url: http://these/git/%7B%60%24%7BarchiveTodayUrl%7D/%24%7B%60data:application/static/%24%7Bargs.thread.url%7D?a=commitdiff_plain;h=9c7f2cb0c34b147c6a3df7f33e201fe580cadba4;p=lemmy.git fix bin path --- diff --git a/.drone.yml b/.drone.yml index 3ce083f3..01494231 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 7a2c9322..84e4f288 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 \