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/
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 \