]> Untitled Git - lemmy.git/commitdiff
use bash, install psql
authorFelix Ableitner <me@nutomic.com>
Thu, 10 Dec 2020 19:06:09 +0000 (20:06 +0100)
committerFelix Ableitner <me@nutomic.com>
Thu, 10 Dec 2020 19:06:09 +0000 (20:06 +0100)
.drone.yml
api_tests/prepare-drone-federation-test.sh

index 6dcb5c931de0b91077cf8af211a34bf984a29999..1e6544ecb89a6277209a9b39c3e19660cd39ca03 100644 (file)
@@ -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
 
index 297503b95bc9c9d22e83085ca17ad83e3a470945..d8f66a12af3e80f441f428dbc8f0edf9fc840217 100755 (executable)
@@ -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 \