Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .codespell.ignore.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
geting
Comment thread
cpu marked this conversation as resolved.
keypair
vas
strat
hist
dur
uint
iff
cas
te
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3'
services:
boulder:
# To minimize fetching this should be the same version used below
image: letsencrypt/boulder-tools-go${TRAVIS_GO_VERSION:-1.13.2}:2019-11-18
image: letsencrypt/boulder-tools-go${TRAVIS_GO_VERSION:-1.13.2}:2020-01-07
environment:
FAKE_DNS: 10.77.77.77
PKCS11_PROXY_SOCKET: tcp://boulder-hsm:5657
Expand Down Expand Up @@ -58,7 +58,7 @@ services:
working_dir: /go/src/github.com/letsencrypt/boulder
bhsm:
# To minimize fetching this should be the same version used above
image: letsencrypt/boulder-tools-go${TRAVIS_GO_VERSION:-1.13.2}:2019-11-18
image: letsencrypt/boulder-tools-go${TRAVIS_GO_VERSION:-1.13.2}:2020-01-07
environment:
PKCS11_DAEMON_SOCKET: tcp://0.0.0.0:5657
command: /usr/local/bin/pkcs11-daemon /usr/lib/softhsm/libsofthsm2.so
Expand All @@ -85,7 +85,7 @@ services:
logging:
driver: none
netaccess:
image: letsencrypt/boulder-tools-go${TRAVIS_GO_VERSION:-1.13.2}:2019-11-18
image: letsencrypt/boulder-tools-go${TRAVIS_GO_VERSION:-1.13.2}:2020-01-07
environment:
GO111MODULE: "on"
GOFLAGS: "-mod=vendor"
Expand Down
7 changes: 7 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ if [[ "$RUN" =~ "lints" ]] ; then
run_and_expect_silence errcheck \
-ignore fmt:Fprintf,fmt:Fprintln,fmt:Fprint,io:Write,os:Remove,net/http:Write \
$(go list -f '{{ .ImportPath }}' ./... | grep -v test)

# Check for common spelling errors using codespell.
# Update .codespell.ignore.txt if you find false positives (NOTE: ignored
# words should be all lowercase).
run_and_expect_silence codespell \
--ignore-words=.codespell.ignore.txt \
--skip=.git,.gocache,go.sum,go.mod,vendor,bin,*.pyc,*.pem,*.der,*.resp,*.req,*.csr,.codespell.ignore.txt
fi

#
Expand Down
4 changes: 4 additions & 0 deletions test/boulder-tools/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ apt-get install -y --no-install-recommends \
unzip \
python3-dev \
python3-venv \
python3-pip \
gcc \
libaugeas0 \
libssl-dev \
Expand Down Expand Up @@ -53,6 +54,9 @@ go get \
golang.org/x/tools/cmd/stringer \
github.com/gordonklaus/ineffassign

# Install codespell for linting common spelling errors
pip3 install codespell

git clone https://github.com/certbot/certbot /certbot
cd /certbot
./tools/venv3.py
Expand Down