]> Untitled Git - lemmy.git/commitdiff
try running federation tests in same alpine version
authorFelix Ableitner <me@nutomic.com>
Fri, 11 Dec 2020 13:13:30 +0000 (14:13 +0100)
committerFelix Ableitner <me@nutomic.com>
Fri, 11 Dec 2020 13:13:30 +0000 (14:13 +0100)
.drone.yml
api_tests/prepare-drone-federation-test.sh

index c2b1797c083e6115af07c71abd94af0a55260395..bf3c301e661b4697160a7bdcb996c387ce8bf62d 100644 (file)
@@ -51,8 +51,6 @@ steps:
       - /dieselcli/diesel migration run
       - cargo test --workspace --no-fail-fast
 
-  # TODO: this uses rust 1.48.0, which doesnt work with config-rs, so federation tests fail
-  # https://github.com/LemmyNet/lemmy/issues/1270
   - name: cargo build
     image: ekidd/rust-musl-builder:1.47.0
     volumes:
@@ -62,7 +60,7 @@ steps:
       - cargo build
 
   - name: run federation tests
-    image: node:15-buster-slim
+    image: node:15-alpine-3.12
     commands:
       - apt-get update
       - apt-get -y install --no-install-recommends bash curl postgresql-client
index 9e0328a9a152e3a016ecb6f11418366a4110a0d1..5a54cd3a68b8d2112f694cf4a0e5c3c6e1872313 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/debug/lemmy_server &
+  target/debug/lemmy_server
 
 echo "start beta"
 LEMMY_HOSTNAME=lemmy-beta:8551 \