From 94ce7022145a778896ce8b1854df64cd4b5f9361 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Thu, 25 Jun 2020 14:06:31 -0700 Subject: [PATCH] Use testing torrc for Drone --- .drone.yml | 3 +-- testing/torrc | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 testing/torrc diff --git a/.drone.yml b/.drone.yml index 7db1d95..fe85d4a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,6 @@ pipeline: image: golang commands: - wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/tor -P tmp/ - - wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/torrc -P tmp/ - chmod a+x tmp/tor - export GO111MODULE=on - go mod vendor @@ -33,7 +32,7 @@ pipeline: image: golang commands: - export PATH=$PATH:/go/src/git.openprivacy.ca/openprivacy/connectivity - - ./tmp/tor -f ./tmp/torrc + - ./tmp/tor -f ./testing/torrc - sleep 15 - sh testing/tests.sh notify-email: diff --git a/testing/torrc b/testing/torrc new file mode 100644 index 0000000..513c094 --- /dev/null +++ b/testing/torrc @@ -0,0 +1,5 @@ +SOCKSPort 9050 +ControlPort 9051 +CookieAuthentication 0 +# Needed for integ tests +RunAsDaemon 1 \ No newline at end of file