Skip to content

Commit

Permalink
set docker vars for chisel integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
sheurich committed Feb 26, 2024
1 parent a90ce34 commit 60b576e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions test/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -29,29 +31,28 @@ 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
command: |
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
Expand Down

0 comments on commit 60b576e

Please sign in to comment.