certbot/tests/boulder-fetch.sh
2016-08-10 11:49:55 -07:00

10 lines
428 B
Bash
Executable file

#!/bin/bash
# Download and run Boulder instance for integration testing
set -xe
# Check out special branch until latest docker changes land in Boulder master.
git clone -b docker-integration https://github.com/letsencrypt/boulder $BOULDERPATH
cd $BOULDERPATH
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
docker-compose up -d