mirror of
https://github.com/certbot/certbot.git
synced 2026-06-07 15:52:08 -04:00
Candidate issues to be addressed: - race condition: start.sh might fail to start Boulder WFE before ./tests/boulder-integration.sh is run (unlikely, but possible, leading to flaky tests) - intertwined build logs (./start.sh boostraps in the background, integration test debug logs on server and client side)
22 lines
590 B
Bash
Executable file
22 lines
590 B
Bash
Executable file
#!/bin/sh -xe
|
|
# Simple integration test, make sure to activate virtualenv beforehand
|
|
# (source venv/bin/activate) and that you are running Boulder test
|
|
# instance (see ./boulder-start.sh).
|
|
|
|
root="$(mktemp -d)"
|
|
echo "\nRoot integration tests directory: $root"
|
|
|
|
# first three flags required, rest is handy defaults
|
|
letsencrypt \
|
|
--server http://localhost:4000/acme/new-reg \
|
|
--no-verify-ssl \
|
|
--dvsni-port 5001 \
|
|
--config-dir "$root/conf" \
|
|
--work-dir "$root/work" \
|
|
--text \
|
|
--agree-eula \
|
|
--email "" \
|
|
--domains le.wtf \
|
|
--authenticator standalone \
|
|
-vvvvvvv \
|
|
auth
|