Use properly packaged Tor for .drone scripts
continuous-integration/drone/pr Build is failing
Details
continuous-integration/drone/pr Build is failing
Details
This commit is contained in:
parent
5714d6f1d9
commit
f9b3ff1837
26
.drone.yml
26
.drone.yml
|
@ -12,12 +12,11 @@ steps:
|
|||
commands:
|
||||
- go install honnef.co/go/tools/cmd/staticcheck@latest
|
||||
- go install go.uber.org/nilaway/cmd/nilaway@latest
|
||||
- apt update
|
||||
- apt install libevent-2.1-7
|
||||
- wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/tor
|
||||
- wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/torrc
|
||||
- chmod a+x tor
|
||||
- export PATH=`pwd`:$PATH
|
||||
- wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/branch/master/tor/tor-0.4.8.9-linux-x86_64.tar.gz -O tor.tar.gz
|
||||
- tar -xzf tor.tar.gz
|
||||
- chmod a+x Tor/tor
|
||||
- export PATH=$PWD/Tor/:$PATH
|
||||
- export LD_LIBRARY_PATH=$PWD/Tor/
|
||||
- tor --version
|
||||
- export GO111MODULE=on
|
||||
- name: quality
|
||||
|
@ -41,9 +40,8 @@ steps:
|
|||
- name: deps
|
||||
path: /go
|
||||
commands:
|
||||
- apt update
|
||||
- apt install libevent-2.1-7
|
||||
- export PATH=`pwd`:$PATH
|
||||
- export PATH=$PWD/Tor/:$PATH
|
||||
- export LD_LIBRARY_PATH=$PWD/Tor/
|
||||
- tor --version
|
||||
- go test -timeout=30m -race -v cwtch.im/cwtch/testing/
|
||||
- name: filesharing-integ-test
|
||||
|
@ -52,9 +50,8 @@ steps:
|
|||
- name: deps
|
||||
path: /go
|
||||
commands:
|
||||
- apt update
|
||||
- apt install libevent-2.1-7
|
||||
- export PATH=`pwd`:$PATH
|
||||
- export PATH=$PWD/Tor/:$PATH
|
||||
- export LD_LIBRARY_PATH=$PWD/Tor/
|
||||
- go test -timeout=20m -race -v cwtch.im/cwtch/testing/filesharing
|
||||
- name: filesharing-autodownload-integ-test
|
||||
image: golang:1.21.5-bookworm
|
||||
|
@ -62,9 +59,8 @@ steps:
|
|||
- name: deps
|
||||
path: /go
|
||||
commands:
|
||||
- apt update
|
||||
- apt install libevent-2.1-7
|
||||
- export PATH=`pwd`:$PATH
|
||||
- export PATH=$PWD/Tor/:$PATH
|
||||
- export LD_LIBRARY_PATH=$PWD/Tor/
|
||||
- go test -timeout=20m -race -v cwtch.im/cwtch/testing/autodownload
|
||||
- name: notify-gogs
|
||||
image: openpriv/drone-gogs
|
||||
|
|
Loading…
Reference in New Issue