From 94d6ceb4dfd5a7df768f0114c5a42aa4c3ae1c29 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Thu, 10 Dec 2020 18:29:13 +0100 Subject: [PATCH] install bash and curl --- .drone.yml | 7 +++---- api_tests/prepare-drone-federation-test.sh | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 795b07361..763de02ca 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 18a55006a..d8f66a12a 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