diff --git a/test/docker-compose.yml b/test/docker-compose.yml index 83248a17..023c3b06 100644 --- a/test/docker-compose.yml +++ b/test/docker-compose.yml @@ -7,6 +7,8 @@ services: context: . dockerfile: Dockerfile.devcontainer target: devbuild + environment: + - PEBBLE_WFE_NONCEREJECT=0 # disable nonce rejection for debugging volumes: - $PWD:/go/src/github.com/letsencrypt/pebble - $PWD/test:/test @@ -29,9 +31,6 @@ services: working_dir: /go/src/github.com/letsencrypt/pebble # The `test-integration-chisel` service runs the chisel integration tests. test-integration-chisel: - extra_hosts: - - "example.letsencrypt.org:10.30.50.4" - - "elpmaxe.letsencrypt.org:10.30.50.4" build: context: . dockerfile: Dockerfile.devcontainer @@ -39,19 +38,21 @@ services: python -m venv /tmp/venv && . /tmp/venv/bin/activate && pip install -r test/requirements.txt && - PEBBLE_WFE_NONCEREJECT=0 \ - REQUESTS_CA_BUNDLE=test/certs/pebble.minica.pem \ - python test/chisel2.py example.letsencrypt.org elpmaxe.letsencrypt.org + export REQUESTS_CA_BUNDLE=test/certs/pebble.minica.pem && + python test/chisel2.py example.letsencrypt.org elpmaxe.letsencrypt.org depends_on: - pebble - challtestsrv environment: - DIRECTORY=https://pebble:14000/dir + - LOGLEVEL=10 - SET_TXT=http://challtestsrv:8055/set-txt - CLEAR_TXT=http://challtestsrv:8055/clear-txt - networks: acmenet: + aliases: + - example.letsencrypt.org + - elpmaxe.letsencrypt.org ipv4_address: 10.30.50.4 volumes: - $PWD:/go/src/github.com/letsencrypt/pebble