mirror of
https://github.com/certbot/certbot.git
synced 2026-04-28 17:51:04 -04:00
Candidate issues to be addressed: - race condition: start.sh might fail to start Boulder WFE before ./tests/boulder-integration.sh is run (unlikely, but possible, leading to flaky tests) - intertwined build logs (./start.sh boostraps in the background, integration test debug logs on server and client side)
15 lines
602 B
Bash
Executable file
15 lines
602 B
Bash
Executable file
#!/bin/sh -xe
|
|
# Download and run Boulder instance for integration testing
|
|
|
|
export GOPATH="${GOPATH:-/tmp/go}"
|
|
|
|
# $ go get github.com/letsencrypt/boulder
|
|
# package github.com/letsencrypt/boulder
|
|
# imports github.com/letsencrypt/boulder
|
|
# imports github.com/letsencrypt/boulder: no buildable Go source files in /tmp/go/src/github.com/letsencrypt/boulder
|
|
|
|
go get -d github.com/letsencrypt/boulder/cmd/boulder
|
|
cd $GOPATH/src/github.com/letsencrypt/boulder
|
|
make -j4 # Travis has 2 cores per build instance.
|
|
./start.sh &
|
|
# Hopefully start.sh bootstraps before integration test is started...
|