mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 03:32:13 +02:00
Fix the pebble fetch script (#6765)
This PR updates and fixes `pebble-fetch.sh` considering latest improvements done on Pebble, to start a working instance. * Fix the pebble fetch script * Update pebble-fetch.sh * Update tox.ini
This commit is contained in:
committed by
Brad Warren
parent
cff8769db7
commit
acc0b1e773
+25
-8
@@ -2,7 +2,7 @@
|
|||||||
# Download and run Pebble instance for integration testing
|
# Download and run Pebble instance for integration testing
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
PEBBLE_VERSION=2018-11-02
|
PEBBLE_VERSION=v1.0.1
|
||||||
|
|
||||||
# We reuse the same GOPATH-style directory than for Boulder.
|
# We reuse the same GOPATH-style directory than for Boulder.
|
||||||
# Pebble does not need it, but it will make the installation consistent with Boulder's one.
|
# Pebble does not need it, but it will make the installation consistent with Boulder's one.
|
||||||
@@ -13,15 +13,32 @@ mkdir -p ${PEBBLEPATH}
|
|||||||
|
|
||||||
cat << UNLIKELY_EOF > "$PEBBLEPATH/docker-compose.yml"
|
cat << UNLIKELY_EOF > "$PEBBLEPATH/docker-compose.yml"
|
||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
pebble:
|
pebble:
|
||||||
image: letsencrypt/pebble:${PEBBLE_VERSION}
|
image: letsencrypt/pebble:${PEBBLE_VERSION}
|
||||||
command: pebble -strict ${PEBBLE_STRICT:-false} -dnsserver 10.77.77.1
|
command: pebble -dnsserver 10.30.50.3:8053
|
||||||
ports:
|
environment:
|
||||||
- 14000:14000
|
|
||||||
environment:
|
|
||||||
- PEBBLE_VA_NOSLEEP=1
|
- PEBBLE_VA_NOSLEEP=1
|
||||||
|
ports:
|
||||||
|
- 14000:14000
|
||||||
|
networks:
|
||||||
|
acmenet:
|
||||||
|
ipv4_address: 10.30.50.2
|
||||||
|
challtestsrv:
|
||||||
|
image: letsencrypt/pebble-challtestsrv:${PEBBLE_VERSION}
|
||||||
|
command: pebble-challtestsrv -defaultIPv6 "" -defaultIPv4 10.30.50.1
|
||||||
|
ports:
|
||||||
|
- 8055:8055
|
||||||
|
networks:
|
||||||
|
acmenet:
|
||||||
|
ipv4_address: 10.30.50.3
|
||||||
|
networks:
|
||||||
|
acmenet:
|
||||||
|
driver: bridge
|
||||||
|
ipam:
|
||||||
|
driver: default
|
||||||
|
config:
|
||||||
|
- subnet: 10.30.50.0/24
|
||||||
UNLIKELY_EOF
|
UNLIKELY_EOF
|
||||||
|
|
||||||
docker-compose -f "$PEBBLEPATH/docker-compose.yml" up -d pebble
|
docker-compose -f "$PEBBLEPATH/docker-compose.yml" up -d pebble
|
||||||
|
|||||||
Reference in New Issue
Block a user