From 1be906c57ff6fe5e3c76bec5c8674991b0ea98b0 Mon Sep 17 00:00:00 2001 From: Jacob Hoffman-Andrews Date: Tue, 8 May 2018 14:37:06 -0700 Subject: [PATCH] Switch to Boulder IP address. --- docs/contributing.rst | 2 +- tests/boulder-fetch.sh | 2 +- tests/integration/_common.sh | 4 ++-- tools/deactivate.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/contributing.rst b/docs/contributing.rst index cbb7650b6..e634d8761 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -127,7 +127,7 @@ Boulder: .. code-block:: shell - export SERVER=http://localhost:4000/directory + export SERVER=http://10.77.77.77:4000/directory source tests/integration/_common.sh Run the integration tests using: diff --git a/tests/boulder-fetch.sh b/tests/boulder-fetch.sh index fc9cbaae7..24ecf9d4d 100755 --- a/tests/boulder-fetch.sh +++ b/tests/boulder-fetch.sh @@ -26,7 +26,7 @@ fi docker-compose up -d set +x # reduce verbosity while waiting for boulder -until curl http://localhost:4000/directory 2>/dev/null; do +until curl http://10.77.77.77:4000/directory 2>/dev/null; do echo waiting for boulder sleep 1 done diff --git a/tests/integration/_common.sh b/tests/integration/_common.sh index a8d35ed89..e63fc74db 100755 --- a/tests/integration/_common.sh +++ b/tests/integration/_common.sh @@ -18,7 +18,7 @@ certbot_test () { # Use local ACMEv2 endpoint if requested and SERVER isn't already set. if [ "${BOULDER_INTEGRATION:-v1}" = "v2" -a -z "${SERVER:+x}" ]; then - SERVER="http://localhost:4001/directory" + SERVER="http://10.77.77.77:4001/directory" fi certbot_test_no_force_renew () { @@ -30,7 +30,7 @@ certbot_test_no_force_renew () { --source $sources \ --omit $omit_patterns \ $(command -v certbot) \ - --server "${SERVER:-http://localhost:4000/directory}" \ + --server "${SERVER:-http://boulder:4000/directory}" \ --no-verify-ssl \ --tls-sni-01-port $tls_sni_01_port \ --http-01-port $http_01_port \ diff --git a/tools/deactivate.py b/tools/deactivate.py index d43b84552..2f8b2e6e3 100644 --- a/tools/deactivate.py +++ b/tools/deactivate.py @@ -24,7 +24,7 @@ from acme import client as acme_client from acme import errors as acme_errors from acme import messages -DIRECTORY = os.getenv('DIRECTORY', 'http://localhost:4000/directory') +DIRECTORY = os.getenv('DIRECTORY', 'http://10.77.77.77:4000/directory') if len(sys.argv) != 2: print("Usage: python deactivate.py private_key.pem")