mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 00:35:03 +02:00
Use latest Boulder for Travis tests. (#4180)
This commit is contained in:
committed by
GitHub
parent
1380e59f56
commit
94aa562cf2
@@ -10,10 +10,6 @@ before_install:
|
|||||||
# using separate envs with different TOXENVs creates 4x1 Travis build
|
# using separate envs with different TOXENVs creates 4x1 Travis build
|
||||||
# matrix, which allows us to clearly distinguish which component under
|
# matrix, which allows us to clearly distinguish which component under
|
||||||
# test has failed
|
# test has failed
|
||||||
env:
|
|
||||||
global:
|
|
||||||
- BOULDERPATH=$PWD/boulder/
|
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- python: "2.7"
|
- python: "2.7"
|
||||||
|
|||||||
+10
-4
@@ -2,9 +2,15 @@
|
|||||||
# Download and run Boulder instance for integration testing
|
# Download and run Boulder instance for integration testing
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
# Check out special branch until latest docker changes land in Boulder master.
|
# Clone Boulder into a GOPATH-style directory structure even if Go isn't
|
||||||
git clone -b docker-integration https://github.com/letsencrypt/boulder $BOULDERPATH
|
# installed, because Boulder's docker-compose.yml file wll look for it there.
|
||||||
cd $BOULDERPATH
|
export GOPATH=${GOPATH:-$HOME/gopath}
|
||||||
|
BOULDERPATH=${BOULDERPATH:-$GOPATH/src/github.com/letsencrypt/boulder}
|
||||||
|
if [ ! -d ${BOULDERPATH} ]; then
|
||||||
|
git clone --depth=1 https://github.com/letsencrypt/boulder ${BOULDERPATH}
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd ${BOULDERPATH}
|
||||||
FAKE_DNS=$(ifconfig docker0 | grep "inet addr:" | cut -d: -f2 | awk '{ print $1}')
|
FAKE_DNS=$(ifconfig docker0 | grep "inet addr:" | cut -d: -f2 | awk '{ print $1}')
|
||||||
sed -i "s/FAKE_DNS: .*/FAKE_DNS: $FAKE_DNS/" docker-compose.yml
|
sed -i "s/FAKE_DNS: .*/FAKE_DNS: ${FAKE_DNS}/" docker-compose.yml
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
|
|||||||
Reference in New Issue
Block a user