diff --git a/.drone.yml b/.drone.yml index 783dd31..2272695 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,10 +15,10 @@ steps: - name: test_bottin image: consul:latest commands: - - bash test_automatic/start_test.sh + - ash test_automatic/start_test.sh --- kind: signature -hmac: 5c319176dcd13198853df2c7922e2df4c8dfd5c3611a72e9d69f8ddd4bc09e46 +hmac: de69bea7ec60ab7e7cedf2407f724c489a740d7367bbac1dc7abfc4b8b1c94af ... diff --git a/test_automatic/start_test.sh b/test_automatic/start_test.sh index 38fe706..a96667e 100755 --- a/test_automatic/start_test.sh +++ b/test_automatic/start_test.sh @@ -1,5 +1,5 @@ -#!/bin/bash - +#!/bin/sh +trap "exit" INT TERM ERR trap "kill 0" EXIT export BOTTIN_DEFAULT_ADMIN_PW=$(openssl rand -base64 24)