From 7b2c59bd989ae8ff44f7eb62c8adff36c3f6ba27 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Thu, 10 Dec 2020 20:06:09 +0100 Subject: [PATCH] use bash, install psql --- .drone.yml | 4 ++-- api_tests/prepare-drone-federation-test.sh | 8 -------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6dcb5c93..1e6544ec 100644 --- a/.drone.yml +++ b/.drone.yml @@ -81,9 +81,9 @@ steps: user: root commands: - apt-get update - - apt-get -y install --no-install-recommends bash curl + - apt-get -y install --no-install-recommends bash curl postgresql-client - cd api_tests/ - - sh prepare-drone-federation-test.sh + - bash prepare-drone-federation-test.sh - yarn - yarn api-test diff --git a/api_tests/prepare-drone-federation-test.sh b/api_tests/prepare-drone-federation-test.sh index 297503b9..d8f66a12 100755 --- a/api_tests/prepare-drone-federation-test.sh +++ b/api_tests/prepare-drone-federation-test.sh @@ -11,14 +11,6 @@ export LEMMY_CAPTCHA__ENABLED=false export RUST_BACKTRACE=1 export RUST_LOG=debug -pwd -ls -la -ls -la .. -ls -la ../target/ -ls -la ../target/debug/ -ls -la ../target/debug/lemmy_server - -# TODO: i suppose this doesnt run because of libc or some deps missing echo "start alpha" LEMMY_HOSTNAME=lemmy-alpha:8541 \ LEMMY_PORT=8541 \ -- 2.44.1