From: Felix Ableitner Date: Thu, 10 Dec 2020 17:29:13 +0000 (+0100) Subject: install bash and curl X-Git-Url: http://these/git/%22%7Burl%7D/%7B%60%24%7BghostArchiveUrl%7D/%7B%60/feeds/inbox/%7BlocalRss%7D?a=commitdiff_plain;h=94d6ceb4dfd5a7df768f0114c5a42aa4c3ae1c29;p=lemmy.git install bash and curl --- diff --git a/.drone.yml b/.drone.yml index 795b0736..763de02c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/api_tests/prepare-drone-federation-test.sh b/api_tests/prepare-drone-federation-test.sh index 18a55006..d8f66a12 100755 --- a/api_tests/prepare-drone-federation-test.sh +++ b/api_tests/prepare-drone-federation-test.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -e export LEMMY_JWT_SECRET=changeme