From 2baf52a81cead45b0add26232299f77a6278994a Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Tue, 2 Jan 2024 13:51:53 -0800 Subject: [PATCH] Use a decent operating system --- .drone.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index a431348..4fce97c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,29 +5,29 @@ name: linux-test steps: - name: fetch - image: golang:1.21.5 + image: golang:1.21.5-bookworm volumes: - name: deps path: /go commands: - go install honnef.co/go/tools/cmd/staticcheck@latest - go install go.uber.org/nilaway/cmd/nilaway@latest - - apt search libevent - - apt install libevent-2 + - 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 - ./tor --version - export GO111MODULE=on - name: quality - image: golang:1.21.5 + image: golang:1.21.5-bookworm volumes: - name: deps path: /go commands: - ./testing/quality.sh - name: units-tests - image: golang:1.21.5 + image: golang:1.21.5-bookworm volumes: - name: deps path: /go @@ -35,7 +35,7 @@ steps: - export PATH=$PWD:$PATH - sh testing/tests.sh - name: integ-test - image: golang:1.21.5 + image: golang:1.21.5-bookworm volumes: - name: deps path: /go @@ -43,7 +43,7 @@ steps: - export PATH=$PWD:$PATH - go test -timeout=30m -race -v cwtch.im/cwtch/testing/ - name: filesharing-integ-test - image: golang:1.21.5 + image: golang:1.21.5-bookworm volumes: - name: deps path: /go @@ -51,7 +51,7 @@ steps: - export PATH=$PWD:$PATH - go test -timeout=20m -race -v cwtch.im/cwtch/testing/filesharing - name: filesharing-autodownload-integ-test - image: golang:1.21.5 + image: golang:1.21.5-bookworm volumes: - name: deps path: /go