mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Use newer boulder config
This commit is contained in:
parent
b18696b6a0
commit
ddc51134eb
1 changed files with 7 additions and 0 deletions
|
|
@ -16,6 +16,13 @@ FAKE_DNS=$(ifconfig docker0 | grep "inet addr:" | cut -d: -f2 | awk '{ print $1}
|
|||
[ -z "$FAKE_DNS" ] && FAKE_DNS=$(ip addr show dev docker0 | grep "inet " | xargs | cut -d ' ' -f 2 | cut -d '/' -f 1)
|
||||
[ -z "$FAKE_DNS" ] && echo Unable to find the IP for docker0 && exit 1
|
||||
sed -i "s/FAKE_DNS: .*/FAKE_DNS: ${FAKE_DNS}/" docker-compose.yml
|
||||
|
||||
# If we're testing against ACMEv2, we need to use a newer boulder config for
|
||||
# now. See https://github.com/letsencrypt/boulder#quickstart.
|
||||
if [ "$BOULDER_INTEGRATION" = "v2" ]; then
|
||||
sed -i 's/BOULDER_CONFIG_DIR: .*/BOULDER_CONFIG_DIR: test\/config-next/' docker-compose.yml
|
||||
fi
|
||||
|
||||
docker-compose up -d
|
||||
|
||||
set +x # reduce verbosity while waiting for boulder
|
||||
|
|
|
|||
Loading…
Reference in a new issue