From: Felix Ableitner Date: Thu, 10 Dec 2020 19:06:09 +0000 (+0100) Subject: use bash, install psql X-Git-Url: http://these/git/%7B%60%24%7BghostArchiveUrl%7D/%22%7Burl%7D/static/%7BlocalRss%7D?a=commitdiff_plain;h=7b2c59bd989ae8ff44f7eb62c8adff36c3f6ba27;p=lemmy.git use bash, install psql --- 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 \