]> Untitled Git - lemmy.git/commitdiff
install bash and curl
authorFelix Ableitner <me@nutomic.com>
Thu, 10 Dec 2020 17:29:13 +0000 (18:29 +0100)
committerFelix Ableitner <me@nutomic.com>
Thu, 10 Dec 2020 17:29:13 +0000 (18:29 +0100)
.drone.yml
api_tests/prepare-drone-federation-test.sh

index 795b0736101cb82ca452e31d59bc9b75d40fff68..763de02ca1e6c4d5154e30e762e94d380c3a92c6 100644 (file)
@@ -58,7 +58,7 @@ steps:
       - name: dieselcli
         path: /dieselcli
     commands:
-      - apt-get -y update
+      - apt-get update
       - apt-get -y install --no-install-recommends espeak postgresql-client
       - /dieselcli/diesel migration run
       - cargo test --workspace --no-fail-fast
@@ -82,11 +82,10 @@ steps:
 
   - name: run federation tests
     image: node:15-alpine3.12
-    user: root
     commands:
-      - ls -la
+      - apt-get update
+      - apt-get -y install --no-install-recommends bash curl
       - cd api_tests/
-      - ls -la
       - sh prepare-drone-federation-test.sh
       - yarn
       - yarn api-test
index 18a55006a397843d584ab357bbd0c499fed3d5dd..d8f66a12af3e80f441f428dbc8f0edf9fc840217 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 set -e
 
 export LEMMY_JWT_SECRET=changeme