fix bin path

pull/1335/head
Felix Ableitner 2020-12-11 17:33:55 +01:00
parent b61bfcefa7
commit 9c7f2cb0c3
2 changed files with 4 additions and 7 deletions

View File

@ -61,16 +61,13 @@ steps:
image: ekidd/rust-musl-builder:1.47.0 image: ekidd/rust-musl-builder:1.47.0
commands: commands:
- cargo build --release - cargo build --release
- ls -la target/ - mv target/x86_64-unknown-linux-musl/reease/lemmy_server target/lemmy_server
- ls -la target/release/ - ls -la target/lemmy_server
- ls -la target/release/lemmy_server
- name: run federation tests - name: run federation tests
image: node:15-alpine3.12 image: node:15-alpine3.12
commands: commands:
- ls -la target/ - ls -la target/lemmy_server
- ls -la target/release/
- ls -la target/release/lemmy_server
- apk add bash curl postgresql-client - apk add bash curl postgresql-client
- bash api_tests/prepare-drone-federation-test.sh - bash api_tests/prepare-drone-federation-test.sh
- cd api_tests/ - cd api_tests/

View File

@ -18,7 +18,7 @@ LEMMY_HOSTNAME=lemmy-alpha:8541 \
LEMMY_FEDERATION__ALLOWED_INSTANCES=lemmy-beta,lemmy-gamma,lemmy-delta,lemmy-epsilon \ LEMMY_FEDERATION__ALLOWED_INSTANCES=lemmy-beta,lemmy-gamma,lemmy-delta,lemmy-epsilon \
LEMMY_SETUP__ADMIN_USERNAME=lemmy_alpha \ LEMMY_SETUP__ADMIN_USERNAME=lemmy_alpha \
LEMMY_SETUP__SITE_NAME=lemmy-alpha \ LEMMY_SETUP__SITE_NAME=lemmy-alpha \
target/release/lemmy_server target/lemmy_server
echo "start beta" echo "start beta"
LEMMY_HOSTNAME=lemmy-beta:8551 \ LEMMY_HOSTNAME=lemmy-beta:8551 \