]> Untitled Git - lemmy.git/commitdiff
fix bin path
authorFelix Ableitner <me@nutomic.com>
Fri, 11 Dec 2020 16:33:55 +0000 (17:33 +0100)
committerFelix Ableitner <me@nutomic.com>
Fri, 11 Dec 2020 16:33:55 +0000 (17:33 +0100)
.drone.yml
api_tests/prepare-drone-federation-test.sh

index 3ce083f3615542219bab50992dbe06281545f91e..01494231b2e30c78d138e8f238d7e6ef7390f0ec 100644 (file)
@@ -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/
index 7a2c93221b1be340d3dbeab4e889daa441ecf9f4..84e4f28830fa9c939a918665ee2dc9ef23c6b4b0 100755 (executable)
@@ -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 \